bishopZ / Typecast.js

No Longer Maintained - Typecast.js :: typing for Javascript
http://typecastjs.com/
30 stars 2 forks source link

Color type? #15

Open bishopZ opened 10 years ago

bishopZ commented 10 years ago

the idea came from http://smallcultfollowing.com/babysteps/blog/2013/09/03/type-specifications-in-parallel-js/

bishopZ commented 10 years ago

new ColorType = {r: 255, g: 255, b: 255}

bishopZ commented 10 years ago

and this 6k library makes very nice color sets: https://github.com/davidmerfield/randomColor

bishopZ commented 10 years ago

and here is another one: http://tools.medialab.sciences-po.fr/iwanthue/theory.php

bishopZ commented 10 years ago

here is a lib that converts any string to a color https://github.com/brandoncorbin/string_to_color

bishopZ commented 10 years ago

and another color conversion library: https://github.com/gka/chroma.js