Any RGB colour library ?

This is a discussion on Any RGB colour library ? within the Tech Board forums, part of the Community Boards category; I'm not sure what exactly I'm looking for ! I'm learning OpenGL, and the RGB colours seem confusing to me ...

  1. #1
    Registered User manasij7479's Avatar
    Join Date
    Feb 2011
    Location
    Kolkata@India
    Posts
    2,498

    Any RGB colour library ?

    I'm not sure what exactly I'm looking for !
    I'm learning OpenGL, and the RGB colours seem confusing to me to use by hand for everything I draw.
    Are there any external library available that makes the task of managing colours somewhat easier ?
    Manasij Mukherjee | gcc-4.8.2 @Arch Linux
    Slow and Steady wins the race... if and only if :
    1.None of the other participants are fast and steady.
    2.The fast and unsteady suddenly falls asleep while running !



  2. #2
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,558
    A fun side-project might be to parse this -> List of colors - Wikipedia, the free encyclopedia
    to give you a nice function you can call, passing a colour name, and returning an RGB.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. colour...
    By tommy_cgl in forum C++ Programming
    Replies: 1
    Last Post: 03-29-2003, 02:34 PM
  2. Replies: 5
    Last Post: 03-01-2003, 03:52 PM
  3. colour
    By moeb in forum C Programming
    Replies: 3
    Last Post: 12-09-2002, 09:54 AM
  4. Key colour
    By pdstatha in forum Game Programming
    Replies: 4
    Last Post: 07-27-2002, 03:30 PM
  5. Colour
    By Auz in forum C++ Programming
    Replies: 2
    Last Post: 02-05-2002, 08:40 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21