2.30.0 • Published 4 months ago

cmo v2.30.0

Weekly downloads
3
License
ISC
Repository
github
Last release
4 months ago

cmo

Nodejs command line utility to change color model in a Cascading Stylesheet. CLI, CSS

Installation

Install nodejs: Binaries, installers, and source tarballs are available at https://nodejs.org. You can now use npx, for example: npx cmo -i rgb-color-model.css or install cmo as a system command via npm i -g cmo

Examples

# print help
$ cmo -h

# converts to hex by default
$ cmo -i rgb-color-model.css

# be more verbose
$ cmo -i rgb-color-model.css -f hex
$ cmo -i rgb-color-model.css --format hex

# save the file (-o/--output)
$ cmo -i rgb-color-model.css -f hex -o hex-color-model.css

# switch to rgb
$ cmo -i style.css -f rgb -o style-rgb.css

# convert bootstrap to hsl
$ cmo -i https://stackpath.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css --format hsl
$ cmo --format hsl -i https://stackpath.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css -o hslstrap.css
2.30.0

4 months ago

2.29.0

6 months ago

2.28.0

9 months ago

2.27.0

11 months ago

2.26.0

1 year ago

2.25.0

1 year ago

2.24.0

1 year ago

2.21.0

2 years ago

2.23.0

2 years ago

2.20.0

2 years ago

2.22.0

2 years ago

2.19.0

2 years ago

2.18.0

2 years ago

2.17.0

2 years ago

2.16.0

2 years ago

2.15.0

2 years ago

2.14.0

2 years ago

2.13.0

3 years ago

2.12.0

3 years ago

2.11.0

3 years ago

2.10.0

3 years ago

2.9.0

3 years ago

2.8.0

3 years ago

2.7.0

4 years ago

2.6.0

4 years ago

2.5.0

6 years ago

2.4.0

6 years ago

2.3.0

6 years ago

2.2.0

6 years ago

2.1.0

7 years ago

2.0.0

7 years ago