22 releases (11 breaking)

new 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

#182 in Math

Download history 55760/week @ 2024-11-19 58807/week @ 2024-11-26 54942/week @ 2024-12-03 59039/week @ 2024-12-10 53626/week @ 2024-12-17 27167/week @ 2024-12-24 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 200330/week @ 2025-03-04

701,475 downloads per month
Used in 789 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