Все вопросы: [hsl]

4 вопросов

похожие теги:
4
голосов
4ответов
3150 просмотров

linearRGB conversion to/from HSL

Does anyone know of a way to get HSL from an linearRGB color (not an sRGB color)? I've seen a lot of sRGBHSL conversions, but nothing for linearRGBHSL. Not sure if it is fundementally the same conversion with minor tweaks, but I'd appreciate any insight someone may have on this. Linear RGB is no...

3
голосов
3ответов
3143 просмотров

HSL Interpolation

If the hue component of my HSL color is in degrees, how can I correctly interpolate between two hues? Using (h1 + h2) / 2 does not seem to produce desirable results in all cases. Here are two examples that illustrate why: Let: red = 0° yellow = 60° blue = 240° (red + yellow) / 2 = 30° (ora...

2
голосов
1ответов
746 просмотров

hsl color problem in Firefox

I am trying to declare the border of a div using hsl() like this: border: 2px solid hsl(0,200,105); I am using Firefox 3.5 and there is no border being rendered at all. The same code works perfectly if hsl() is replaced with rgb() I read somewhere that Firefox supports hsl() and hsla() Am I ...

23
голосов
3ответов
17011 просмотров

как использовать HSL в Asp.net

Какие инструменты используются для работы с цветами HSL в .net?