From d497a47454d6d49e4b7f94de6e3f4d2df517ecc3 Mon Sep 17 00:00:00 2001 From: George Michael Brower Date: Tue, 5 Apr 2011 15:21:17 -0700 Subject: [PATCH] Deleted color.js --- controllers/color.js | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 controllers/color.js diff --git a/controllers/color.js b/controllers/color.js deleted file mode 100644 index aa78907..0000000 --- a/controllers/color.js +++ /dev/null @@ -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)));