This is a library I've been working on for a year – originally to help provide better automatic generation of colors for charts and reports. I found it was useful in several other projects so I've made it available as a NuGet package called Colorspace. It supports an number of conversions as shown below.