Hexadecimal color to RGBA.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
|color = '#' + ( @model.get 'stroke_color' )|
|.map ( color ) ->|
|xColor = color.toString 16|
|if xColor.length is 1 then "0" + xColor else xColor|