parse_color 0.0.1 parse_color: ^0.0.1 copied to clipboard
A package that parses ints and strings (hex or rgba) into a color, with basic in-memory caching.
A package that parses ints and strings (hex or rgba) into a color, with basic in-memory caching.
const red = UIColor( 'red' );
const blue = UIColor( 'blue' );
const grey = UIColor( '#cccccc' );
const grey2 = UIColor( 'cccccc' );
const redWithAlpha = UIColor( 'rgba(255,0,0,0.5)' );