Found: A great resource for Color Conversions (RGB, HSL, HSV, CMYK, etc.)

Marcelo Gattass has a very useful page ( Color Conversion Library in ANSI C ) that provides straightforward source code for color conversions.


His site has made it much, much easier to make progress with my recent Visio activities: Automating Visio 2007 with AutoVisio – now on CodePlex

Things to note about his site:

  • His code is easy to read, use and translate to C#
  • He clearly explains what code does and doesn’t go unnecessarily deep into the theory
  • And it all “just works”

If you need to do color conversions, I suggest starting with his page.


Other Resources


Comments (0)

Skip to main content