Thread: Any RGB colour library ?

  1. #1
    [](){}(); manasij7479's Avatar
    Join Date
    Feb 2011

    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 ?

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    The edge of the known universe
    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.

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, 03:34 PM
  2. Replies: 5
    Last Post: 03-01-2003, 04:52 PM
  3. colour
    By moeb in forum C Programming
    Replies: 3
    Last Post: 12-09-2002, 10: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, 09:40 AM