15 releases (7 breaking)

0.27.2 Apr 2, 2024
0.27.1 Mar 29, 2024
0.26.2 Feb 14, 2024
0.24.1 Nov 30, 2023
0.20.0 Dec 8, 2022

#126 in Math

Download history 32261/week @ 2024-03-04 34023/week @ 2024-03-11 30952/week @ 2024-03-18 33852/week @ 2024-03-25 34029/week @ 2024-04-01 34082/week @ 2024-04-08 39935/week @ 2024-04-15 37905/week @ 2024-04-22 36161/week @ 2024-04-29 30342/week @ 2024-05-06 33556/week @ 2024-05-13 34458/week @ 2024-05-20 33478/week @ 2024-05-27 35201/week @ 2024-06-03 35268/week @ 2024-06-10 34152/week @ 2024-06-17

140,759 downloads per month
Used in 550 crates (7 directly)

MIT/Apache

45KB
1K 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

~240KB