/postcss-color-hexa

A postcss plugin that enables the use of hexa() to combine hex codes and opacity into rgba()

Primary LanguageJavaScriptMIT LicenseMIT

postcss-color-hexa Build Status

A postcss plugin that enables the use of hexa() to combine hex codes and opacity into rgba()


Input

body {
	background: hexa(#abc, 0.1);
}

Output

body {
	background: rgba(170, 187, 204, 0.1);
}

Usage

postcss([require('postcss-color-hexa')]);

Install

npm install --save postcss-color-hexa