Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/katyo/colours-rs
Color types for different color models with conversions between it
https://github.com/katyo/colours-rs
Last synced: 16 days ago
JSON representation
Color types for different color models with conversions between it
- Host: GitHub
- URL: https://github.com/katyo/colours-rs
- Owner: katyo
- Created: 2020-01-10T17:25:41.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-02-21T11:04:19.000Z (almost 5 years ago)
- Last Synced: 2024-11-30T18:17:17.592Z (about 1 month ago)
- Language: Rust
- Size: 8.79 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Color types with conversions
[![License: MIT](https://img.shields.io/badge/License-MIT-brightgreen.svg)](https://opensource.org/licenses/MIT)
[![Travis-CI Status](https://travis-ci.com/katyo/colours-rs.svg?branch=master)](https://travis-ci.com/katyo/colours-rs)
[![Crates.io Package](https://img.shields.io/crates/v/colours.svg?style=popout)](https://crates.io/crates/colours)
[![Docs.rs API Docs](https://docs.rs/colours/badge.svg)](https://docs.rs/colours)This library implements color types for some widely used color models
such as RGB, HSL, HSV and variants with alpha channel.
The support for other models may be added in future.Each type parameterized using channel type: `u8` or `f32`.
The channel value range for `u8` is from _0_ to _255_,
and for `f32` is from _0.0_ to _1.0_.