22 releases (11 breaking)

0.31.1 Mar 5, 2025
0.30.0 Dec 16, 2024
0.29.1 Oct 1, 2024
0.28.1 Jul 5, 2024
0.20.0 Dec 8, 2022

#212 in Math

Download history 38214/week @ 2024-12-31 52675/week @ 2025-01-07 55635/week @ 2025-01-14 49311/week @ 2025-01-21 54146/week @ 2025-01-28 64655/week @ 2025-02-04 142473/week @ 2025-02-11 163439/week @ 2025-02-18 183676/week @ 2025-02-25 198686/week @ 2025-03-04 207223/week @ 2025-03-11 173800/week @ 2025-03-18 178525/week @ 2025-03-25 154079/week @ 2025-04-01 150379/week @ 2025-04-08 122477/week @ 2025-04-15

634,279 downloads per month
Used in 824 crates (10 directly)

MIT/Apache

180KB
4K SLoC

Color conversions and types.

If you want a compact color representation, use Color32. If you want to manipulate RGBA colors use Rgba. If you want to manipulate colors in a way closer to how humans think about colors, use HsvaGamma.

Feature flags


ecolor - egui color library

Latest version Documentation unsafe forbidden MIT Apache

A simple color storage and conversion library.

Made for egui.

Dependencies

~220KB