Skip to content

Commit

Permalink
Tweak saturation and lightness for readability
Browse files Browse the repository at this point in the history
  • Loading branch information
ncaq authored and jaspervdj committed Mar 5, 2018
1 parent 48c9023 commit 78ad680
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion data/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ html {
font-family: sans-serif;
font-size: 14px;
background-color: #222;
color: #ddd;
color: white;
overflow: hidden;
}

Expand Down
2 changes: 1 addition & 1 deletion data/js/node.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ Node.prototype.getColor = function() {
}

var h = hash % 360;
var s = "100%";
var s = "50%";
var l = "40%";
return 'hsl(' + h + ', ' + s + ', ' + l + ')';
};
Expand Down

0 comments on commit 78ad680

Please sign in to comment.