diff --git a/src/colors/kcolorutils.cpp b/src/colors/kcolorutils.cpp --- a/src/colors/kcolorutils.cpp +++ b/src/colors/kcolorutils.cpp @@ -57,7 +57,7 @@ } KColorSpaces::KHCY khcy(color); *c = khcy.c; - *h = khcy.h; + *h = khcy.h + (khcy.h < 0.0 ? 1.0 : 0.0); *y = khcy.y; if (a) { *a = khcy.a;