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 56914/week @ 2024-12-05 58031/week @ 2024-12-12 41191/week @ 2024-12-19 27070/week @ 2024-12-26 48145/week @ 2025-01-02 53088/week @ 2025-01-09 53287/week @ 2025-01-16 50990/week @ 2025-01-23 57287/week @ 2025-01-30 95641/week @ 2025-02-06 138049/week @ 2025-02-13 179933/week @ 2025-02-20 194867/week @ 2025-02-27 195355/week @ 2025-03-06 199857/week @ 2025-03-13 144386/week @ 2025-03-20

766,775 downloads per month
Used in 803 crates (10 directly)

MIT/Apache

180KB
4K SLoC

ecolor - egui color library

Latest version Documentation unsafe forbidden MIT Apache

A simple color storage and conversion library.

Made for egui.


lib.rs:

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

Dependencies

~225KB