test Color
transplanted js to coffee
refactor