RGBConverter icon indicating copy to clipboard operation
RGBConverter copied to clipboard

An Arduino library for converting between HSL, HSV and RGB colour spaces.

NOTE: This code has been fairly much obviated by the HSV-RGB functions in the new FastSPI 2 library (http://code.google.com/p/fastspi/)

/*

  • RGBConverter.h - Arduino library for converting between RGB, HSV and HSL
  • Ported from the Javascript at http://mjijackson.com/2008/02/rgb-to-hsl-and-rgb-to-hsv-color-model-conversion-algorithms-in-javascript
  • The hard work was Michael's, all the bugs are mine.
  • Robert Atkins, December 2010 (ratkins_at_fastmail_dot_fm).
  • https://github.com/ratkins/RGBConverter

*/