Doing math with colors like SASS but in Ruby

Posted by frank on Stack Overflow See other posts from Stack Overflow or by frank
Published on 2010-04-26T15:46:19Z Indexed on 2010/05/16 14:50 UTC
Read the original article Hit count: 212

Filed under:
|
|
|

In SASS I can do

!pink = #ff43a7 !darker_pink = !pink - #333333

I'd like to the same in ruby.

© Stack Overflow or respective owner

Related posts about ruby

Related posts about colors