Skip to main content

About Something subjective.

4 replies [Last post]
i30817
Offline
Joined: 2006-05-02

Specifically color aesthetics.
Did you ever felt the need to make a component you created (say a in a clearly hypothetical example, a transparent clock timer) harmonize one of its colors with the envolving components (whose color is defined by the user). Sure we could make the user define the clock color too, but that seems clumsy somehow.
Anyway i made a quick google search and came arround to this page:
http://www.websiteoptimization.com/speed/tweak/color-harmony/
ignoring the photo that seems too good to be true, has anyone made something similar to this in swing? I guess not much is needed either a table to map, or better yet a formula any input color (or maybe a set of input colors) into a output color that "looks good" in context of the other colors. We could go nuts and make this input a set of tuples (color, radial distance). Does anyone know of a simple way to make this?

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
rbair
Offline
Joined: 2003-07-08

Bonus points for the first person to write a Swing color picker based on screen-scraping colr.org :-)

osbald
Offline
Joined: 2003-06-13

I'm with Josh on this most of these tools just apply any algorithm believed to give complimentary schemes.. but they're produce much the same kind of hue choices. How to use these colors effectively is far more of an art. Before the online ajax-ifed color pickers were commonly available I used to used a little java app call ColorWrite: http://www.adaptiveview.com/cw/download.html

But these days I tend to use one of the online sites: http://del.icio.us/osbald/color - steel dolphin produces some interesting choices.. but community sites like colr.org tend to produce far more natural palettes as they're chosen and voted for by designers.

- Richard

i30817
Offline
Joined: 2006-05-02

Thinking about it an alternative that maybe would be less jarring would be to just assign a neutral color, white for example, but place a thin outline arround the fonto of another color, so even if the background is white the fonts still shows.

Joshua Marinacci

I have played around with such things in the past, but it's not easy.
It's a mixture of science and art. What I've managed to do
successfully is let a user select a hue (a color without lightness or
saturation) and then generate a set of colors that all use the same
hue but have different saturations and values (the HSV methods in
java.awt.Color let you do this). You can also create complementary
colors by have the user select a hue and then generate the
appropriate colors on the other side of the color wheel. You can
again do this easily with the HSV methods in java.awt.Color. (take
the HUE and add 180 to get the other side of the color wheel).

- Josh

On Mar 1, 2007, at 12:10 PM, jdnc-interest@javadesktop.org wrote:

> Specifically color aesthetics.
> Did you ever felt the need to make a component you created (say a
> in a clearly hypothetical example, a transparent clock timer)
> harmonize one of its colors with the envolving components (whose
> color is defined by the user). Sure we could make the user define
> the clock color too, but that seems clumsy somehow.
> Anyway i made a quick google search and came arround to this page:
> http://www.websiteoptimization.com/speed/tweak/color-harmony/
> ignoring the photo that seems too good to be true, has anyone made
> something similar to this in swing? I guess not much is needed
> either a table to map, or better yet a formula any input color (or
> maybe a set of input colors) into a output color that "looks good"
> in context of the other colors. We could go nuts and make this
> input a set of tuples (color, radial distance). Does anyone know of
> a simple way to make this?
> [Message sent by forum member 'i30817' (i30817)]
>
> http://forums.java.net/jive/thread.jspa?messageID=205899
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jdnc-unsubscribe@jdnc.dev.java.net
> For additional commands, e-mail: jdnc-help@jdnc.dev.java.net

- Blasting forth in three part harmony!

[att1.html]