Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
lainsce authored Feb 5, 2023
1 parent 05dc024 commit f8cec20
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/Utils/Color.vala
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,8 @@ namespace He.Color {
y = y / 100.0 ;
z = z / 100.0 ;

var r = 3.24045420 * x - 1.53713850 * y - 0.49853140 * z; // D65 -> sRGB
// D65 -> sRGB
var r = 3.24045420 * x - 1.53713850 * y - 0.49853140 * z;
var g = -0.96926600 * x + 1.87601080 * y + 0.04155600 * z;
var b = 0.05564340 * x - 0.20402590 * y + 1.05722520 * z;

Expand Down

0 comments on commit f8cec20

Please sign in to comment.