0

There are only a few standard colors available in the API - Java.Color. I want many more colors. I want to create my custom colors using some GUI color maker, then get the code for that and save it as a custom color which can be used later.

How can I do this ?

3
  • Overkill, but have you tried GIMP? Commented Apr 3, 2013 at 4:10
  • @WChargin - Gimp ??? Photoshop, 3dstudio max, maya ? why ? :) Commented Apr 3, 2013 at 4:19
  • If your intent is to be able to choose a color before compiling (e.g., the developer picks it, not the user; I'm assuming this because of the answer you accepted) then GIMP may be useful because it also has other color- and image-related functions. Plus it's free :) Commented Apr 3, 2013 at 4:20

3 Answers 3

3

Have a look at JColorChooser. It enable users to choose from a palette of colors. Read more at How to Use Color Choosers.

Sign up to request clarification or add additional context in comments.

Comments

1

Check out this applet i use it when i want to find a particular colour code for a custom colour

http://www.javaview.de/vgp/tutor/color/PaColorDemo.html

just take note of the RGB values and build the custom colour using these

Comments

1

Go to http://www.colorspire.com/rgb-color-wheel/ and select your color and in code create the color object with r, g, b values.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.