Mapping 3D color picker into 2D

Discussion in 'Web Development' started by phaze3131, Oct 15, 2007.

  1. phaze3131

    phaze3131 New Member

    Joined:
    Oct 15, 2007
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    0
    I am wondering if it is possible to map all 16^6 colors from a normal 3D mapping (whether it be rgb or hsl) onto just a 2D space.

    Where the only variables are x,y and "similar" looking colors are all near eachother. Here is an example of a 2D sort of mapping of all the colors: (google "16 million colors" it comes up second)


    I'm wondering if its possible to do that but somehow get all the similar looking colors near one another so maybe like it could be split up like ROYGBIV where all the "reds" are together and so on.

    Of course it could not be perfect by any means but something along those lines i'm wondering if its possible.

    Thanks for the help guys, and I know this is a very different question so it's ok if noone is sure.
     
  2. bozalina

    bozalina New Member

    Joined:
    Feb 12, 2008
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    Did you ever figure out the functions to map RGB into 2D space? I'm wanting to make a 2D color picker control and want to do the same thing.
     
  3. phaze3131

    phaze3131 New Member

    Joined:
    Oct 15, 2007
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    0
    I have not figured it out or found anyone that wanted to take on this job.
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice