“Be inspired, enjoy your work, keep learning and never forget to play.” — gskinner

HLS to RGB & RGB to HLS

Posted: November 19th, 2007 | Author: Ivan Valadares | Filed under: Actionscript3, Code | 2 Comments »

HLS color scheme can be awful to work with bitmapData, today we discover that motion tracking mechanisms can be improved using HLS, so there's a class for converting RBG to HLS and vice-versa.


ColorUtils.as


2 Comments on “HLS to RGB & RGB to HLS”

  1. 1 C4RL05 said at 1:48 pm on February 4th, 2008:

    Works like a dream. Thanks for sharing!

  2. 2 Idoru said at 7:49 am on February 6th, 2008:

    I wonder what you’re using it for ;)


Leave a Reply