RGB « Graphics « Java Swing Q&A





1. how to convert a RGB color value to an hexadecimal value in Java?    stackoverflow.com

in my swing application i was able to get the value of JButton color in terms of Red green blue values and i have stored these values in three integers, how ...

2. Java swing. How to change color intensity from black to white?    stackoverflow.com

I don't see the how to change color only from black to white. Grayscale. My example. I have values that goes from 0 to 100. Their representation is like this: 0 - Black 100 ...

3. How to use this Color's constructor? Java    stackoverflow.com

According to Oracle's site, the class Color has a constructor that accepts a single int value which represents an RGB value. http://download.oracle.com/javase/1.4.2/docs/api/java/awt/Color.html#Color(int) An RGB color is actually three different numbers ...

4. How to know the color's RGB value    coderanch.com

5. RGB    coderanch.com

Hy. I got a problem with a scanned page. The page contains boxes(white and black). The page should be saved in an array and I want know which box is black and which one is white. How can i realize that? Is there any special class or method which I can use? Thanks for help.

6. RGB value of a given point    coderanch.com

7. RGB of this page    coderanch.com