Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: Colour Picker and things..

From: james:mustard at: 24-Dec-2002 20:07

Does anyone on the list know the conversion equations to convert RGB to HSL values? I cheated with my initial HSL calculations by building an actual HSL swatch but now I've added an RBG system palette to the colour picker I am in a bit of a pickle :P For the updated cpicker (to know what I'm babbling about) go to: www.mustard.co.nz/rebol/cpicker.r You will note (if you've looked previously) that I've added HTML and Decimal values in and added a check for 3 vs 4 byte colours in different view versions. Also added is System Palette / Color words. James.