21 releases (11 breaking)

new 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

#190 in Math

Download history 49669/week @ 2024-10-18 53002/week @ 2024-10-25 54691/week @ 2024-11-01 53678/week @ 2024-11-08 54679/week @ 2024-11-15 55497/week @ 2024-11-22 57878/week @ 2024-11-29 56250/week @ 2024-12-06 58259/week @ 2024-12-13 35660/week @ 2024-12-20 28596/week @ 2024-12-27 52034/week @ 2025-01-03 55181/week @ 2025-01-10 50790/week @ 2025-01-17 51045/week @ 2025-01-24 49536/week @ 2025-01-31

215,345 downloads per month
Used in 766 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