Results 1 to 2 of 2

Thread: Color scale

  1. #1
    harshab is offline Member
    Join Date
    Jun 2011
    Posts
    1
    Rep Power
    0

    Default Color scale

    I have a list of numbers...how to correlate colors based on numbers.
    ex...-1 to 0 to 1...color scale should be green yellow red.

  2. #2
    camickr is offline Senior Member
    Join Date
    Jul 2009
    Posts
    1,236
    Rep Power
    7

    Default

    I have no idea how -1, 0, 1 correlate to colors.

    Maybe reading HSL Color Java Tips Weblog and understanding how "hues" work will help you out.

Similar Threads

  1. how to scale correctly ?
    By h9h in forum Java 2D
    Replies: 10
    Last Post: 10-29-2009, 08:06 AM
  2. The scale() method
    By IamKira in forum Java 2D
    Replies: 0
    Last Post: 07-15-2009, 04:49 PM
  3. How to use Scale in SWT
    By Java Tip in forum SWT Tips
    Replies: 0
    Last Post: 07-07-2008, 05:49 PM
  4. Transform Scale
    By Java Tip in forum java.awt
    Replies: 0
    Last Post: 06-21-2008, 09:53 PM
  5. Scale 2 or more pictures using a JSlider
    By Panchitopro in forum AWT / Swing
    Replies: 4
    Last Post: 05-20-2008, 05:44 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •