2.26.0 • Published 1 month ago

cmo v2.26.0

Weekly downloads
3
License
ISC
Repository
github
Last release
1 month 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.26.0

1 month ago

2.25.0

2 months ago

2.24.0

3 months ago

2.21.0

9 months ago

2.23.0

6 months ago

2.20.0

9 months ago

2.22.0

7 months ago

2.19.0

11 months ago

2.18.0

11 months ago

2.17.0

1 year ago

2.16.0

1 year ago

2.15.0

1 year ago

2.14.0

1 year ago

2.13.0

1 year ago

2.12.0

2 years ago

2.11.0

2 years ago

2.10.0

2 years ago

2.9.0

2 years ago

2.8.0

2 years ago

2.7.0

2 years ago

2.6.0

3 years ago

2.5.0

5 years ago

2.4.0

5 years ago

2.3.0

5 years ago

2.2.0

5 years ago

2.1.0

6 years ago

2.0.0

6 years ago