This is possible in Sass 2.4. color= transparentize(#cc3, 0.5)
The transparentize function accepts a color and an amount of alpha layer to subtract from the alpha layer of that color. Chris On Mon, Jan 25, 2010 at 9:06 AM, Gavin Kistner <phr...@mac.com> wrote: > On Jan 25, 2010, at 9:45 AM, Charles Roper wrote: > > I love rgba, but I hate having to type out the colour in the > > xxx,xxx,xxx form and would prefer to do something like this: > ... > > color: hexa(#cc3,.5) > > I'm not even using Sass for anything at the moment, but I must echo this > sentiment and request. > > -- > You received this message because you are subscribed to the Google Groups > "Haml" group. > To post to this group, send email to h...@googlegroups.com. > To unsubscribe from this group, send email to > haml+unsubscr...@googlegroups.com <haml%2bunsubscr...@googlegroups.com>. > For more options, visit this group at > http://groups.google.com/group/haml?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Haml" group. To post to this group, send email to h...@googlegroups.com. To unsubscribe from this group, send email to haml+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/haml?hl=en.