mirror of
https://github.com/zombieFox/nightTab.git
synced 2025-06-26 12:31:47 +02:00
[bug] fix hsl to rgb not working with max hue value
This commit is contained in:
parent
4b44310523
commit
1d0c0b8577
@ -98,7 +98,7 @@ var helper = (function() {
|
|||||||
var green;
|
var green;
|
||||||
var blue;
|
var blue;
|
||||||
|
|
||||||
if (huePrime === 0) {
|
if (huePrime === 0 || huePrime === 6) {
|
||||||
red = chroma;
|
red = chroma;
|
||||||
green = secondComponent;
|
green = secondComponent;
|
||||||
blue = 0;
|
blue = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user