Skip to content

Commit

Permalink
Merge pull request #133 from davidmerfield/hue-ranges
Browse files Browse the repository at this point in the history
Fixes non-overlapping hue ranges
  • Loading branch information
davidmerfield authored Jul 14, 2020
2 parents f0f3405 + b369954 commit c9c6d0e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion demo/public/randomColor.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions randomColor.js
Original file line number Diff line number Diff line change
Expand Up @@ -378,37 +378,37 @@

defineColor(
'orange',
[19,46],
[18,46],
[[20,100],[30,93],[40,88],[50,86],[60,85],[70,70],[100,70]]
);

defineColor(
'yellow',
[47,62],
[46,62],
[[25,100],[40,94],[50,89],[60,86],[70,84],[80,82],[90,80],[100,75]]
);

defineColor(
'green',
[63,178],
[62,178],
[[30,100],[40,90],[50,85],[60,81],[70,74],[80,64],[90,50],[100,40]]
);

defineColor(
'blue',
[179, 257],
[178, 257],
[[20,100],[30,86],[40,80],[50,74],[60,60],[70,52],[80,44],[90,39],[100,35]]
);

defineColor(
'purple',
[258, 282],
[257, 282],
[[20,100],[30,87],[40,79],[50,70],[60,65],[70,59],[80,52],[90,45],[100,42]]
);

defineColor(
'pink',
[283, 334],
[282, 334],
[[20,100],[30,90],[40,86],[60,84],[80,80],[90,75],[100,73]]
);

Expand Down

0 comments on commit c9c6d0e

Please sign in to comment.