mirror of
https://github.com/seigler/dash-visualizer
synced 2025-07-27 01:36:10 +00:00
Fix console hue coloring
This commit is contained in:
parent
96a5f901b5
commit
4906aeb0b5
1 changed files with 1 additions and 1 deletions
|
@ -89,7 +89,7 @@ var App = {
|
||||||
var blockColorScheme = new ColorScheme();
|
var blockColorScheme = new ColorScheme();
|
||||||
blockColorScheme.from_hue(hue).scheme(scheme).add_complement(true);
|
blockColorScheme.from_hue(hue).scheme(scheme).add_complement(true);
|
||||||
const colors = blockColorScheme.colors();
|
const colors = blockColorScheme.colors();
|
||||||
console.log('New color scheme: ' + scheme + ' based on %chue ' + hue, 'background-color:hsl('+hue+',100%,50%)');
|
console.log('New color scheme: ' + scheme + ' based on %chue ' + hue, 'background-color:#'+colors[0]);
|
||||||
return colors;
|
return colors;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue