Skip to content

Commit

Permalink
Correct the limits on XYZ model
Browse files Browse the repository at this point in the history
  • Loading branch information
technobuddha authored and Qix- committed Apr 5, 2022
1 parent 957531f commit d00bd1a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -216,9 +216,9 @@ Color.prototype = {
yellow: getset('cmyk', 2, maxfn(100)),
black: getset('cmyk', 3, maxfn(100)),

x: getset('xyz', 0, maxfn(100)),
x: getset('xyz', 0, maxfn(95.047)),
y: getset('xyz', 1, maxfn(100)),
z: getset('xyz', 2, maxfn(100)),
z: getset('xyz', 2, maxfn(108.833)),

l: getset('lab', 0, maxfn(100)),
a: getset('lab', 1),
Expand Down

0 comments on commit d00bd1a

Please sign in to comment.