21 releases (11 breaking)

0.31.0 Feb 4, 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

#184 in Math

Download history 52891/week @ 2024-10-27 57088/week @ 2024-11-03 51017/week @ 2024-11-10 56208/week @ 2024-11-17 55888/week @ 2024-11-24 56814/week @ 2024-12-01 57136/week @ 2024-12-08 59251/week @ 2024-12-15 28416/week @ 2024-12-22 32609/week @ 2024-12-29 53537/week @ 2025-01-05 55469/week @ 2025-01-12 51744/week @ 2025-01-19 50020/week @ 2025-01-26 64539/week @ 2025-02-02 143369/week @ 2025-02-09

313,793 downloads per month
Used in 771 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

~230KB