17 releases (8 breaking)

0.28.1 Jul 5, 2024
0.27.2 Apr 2, 2024
0.27.1 Mar 29, 2024
0.24.1 Nov 30, 2023
0.20.0 Dec 8, 2022

#123 in Math

Download history 33063/week @ 2024-03-27 33808/week @ 2024-04-03 36926/week @ 2024-04-10 40080/week @ 2024-04-17 36663/week @ 2024-04-24 34365/week @ 2024-05-01 31101/week @ 2024-05-08 32575/week @ 2024-05-15 35460/week @ 2024-05-22 33937/week @ 2024-05-29 35498/week @ 2024-06-05 36537/week @ 2024-06-12 34499/week @ 2024-06-19 34575/week @ 2024-06-26 43085/week @ 2024-07-03 36158/week @ 2024-07-10

155,726 downloads per month
Used in 573 crates (7 directly)

MIT/Apache

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

~240KB