[TxMt] Re: Color dialog missing opacity slider
Oli Studholme
macromates.com at boblet.net
Fri Sep 16 00:54:05 UTC 2011
unfortunately the color picker only returns hex colors, even if you
use something like the Developer Color Picker, which has HSLA:
http://www.panic.com/~wade/picker/
hopefully at some stage the color picker will be hooked up for rgb(a),
hsl(a) and named colors. until then you’ve got a couple of options:
* use the Developer Color Picker (add to ~/Library/ColorPickers/,
restart) and press “Copy with declaration”, then paste over the hex
color
* use a snippet like hsla in https://github.com/desandro/CSS3.tmbundle
(I’ve forked this and improved it a bit:
https://github.com/oli/CSS3.tmbundle but the hsla stuff is the same)
* use an online tool like http://css.coloratum.com/
HTH
peace - oli studholme
@boblet
PS hex color with alpha is planned for CSS4, eg: #11223344 translates
to rgba(17, 34, 51, .27), and you can already use it … in IE filters
;)
More information about the textmate
mailing list