| Crates.io | colorimetry-cli |
| lib.rs | colorimetry-cli |
| version | 0.0.8 |
| created_at | 2025-09-06 14:54:33.660233+00 |
| updated_at | 2025-09-06 14:54:33.660233+00 |
| description | A CLI for the colorimetry crate |
| homepage | |
| repository | |
| max_upload_size | |
| id | 1827157 |
| size | 49,115 |
This colorimetry-cli crate provides the core functionality for the color command-line tool, enabling users to convert color data, create plots, analyze color spaces, and perform other color-related tasks directly from the terminal.
Ensure you have Rust and Cargo installed. You can install them using rustup.
To install colorimetry-cli, run:
cargo install colorimetry-cli
To verify your installation and see available commands and options, run:
color --help
To convert the spectral data in the sample1.csv file to CIELAB values, use the color subcommand:
color sample sample1.csv -m lab
The tool currently supports CSV files with wavelengths in the first column and spectral values in the second column.
Use the -m option to specify the target color model, such as xyz, srgb, or lab.
Note: In code, use
colorimetry_clias the crate name, since Rust replaces dashes with underscores.