mirror of
https://github.com/dataarts/dat.gui.git
synced 2024-12-12 04:08:27 +00:00
Deleted color.js
This commit is contained in:
parent
391be6a283
commit
d497a47454
@ -1,19 +0,0 @@
|
||||
|
||||
|
||||
var rgb = function(r, g, b, a) {
|
||||
var a = a || 255;
|
||||
return ~~ a << 32 ^ ~~ r << 16 ^ ~~ g << 8 ^ ~~ b;
|
||||
}
|
||||
var hsv = function(h, s, v) {
|
||||
|
||||
}
|
||||
var red = function(color) {
|
||||
|
||||
}
|
||||
var
|
||||
var hex = function(color) {
|
||||
return '#'+color.toString(16);
|
||||
}
|
||||
|
||||
|
||||
console.log(hex(rgb(0, 0, 255, 255)));
|
Loading…
Reference in New Issue
Block a user