Not sure if there is a built-in function, but you can get components of a
color this way:
red($color);
green($color);
blue($color);

Here is the reference:
http://sass-lang.com/docs/yardoc/Sass/Script/Functions.html#red-instance_method

2011/6/16 Renan Couto <[email protected]>

> Is there a way to convert hex colors to RGB?
>

-- 
You received this message because you are subscribed to the Google Groups 
"Haml" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to [email protected].
For more options, visit this group at http://groups.google.com/group/haml?hl=en.

Reply via email to