20 releases (10 breaking)

0.30.0 Dec 16, 2024
0.29.1 Oct 1, 2024
0.29.0 Sep 26, 2024
0.28.1 Jul 5, 2024
0.20.0 Dec 8, 2022

#171 in Math

Download history 42573/week @ 2024-09-21 43451/week @ 2024-09-28 45075/week @ 2024-10-05 52555/week @ 2024-10-12 49918/week @ 2024-10-19 52528/week @ 2024-10-26 57817/week @ 2024-11-02 51079/week @ 2024-11-09 55646/week @ 2024-11-16 55067/week @ 2024-11-23 57115/week @ 2024-11-30 56682/week @ 2024-12-07 60260/week @ 2024-12-14 29655/week @ 2024-12-21 31703/week @ 2024-12-28 53937/week @ 2025-01-04

184,132 downloads per month
Used in 747 crates (10 directly)

MIT/Apache

170KB
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