PostCSS Color Hex Alpha
PostCSS Color Hex Alpha lets you use 4 & 8 character hex color notation in CSS, following the CSS Color Module specification.
Usage
Add PostCSS Color Hex Alpha to your project:
Use PostCSS Color Hex Alpha to process your CSS:
Or use it as a PostCSS plugin:
PostCSS Color Hex Alpha runs in all Node environments, with special instructions for:
Options
preserve
The preserve
option determines whether 4 & 8 character hex color notation should be preserved in their original form. By default, these are not preserved.
Last updated