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

#157 in Math

Download history 23276/week @ 2024-01-24 24977/week @ 2024-01-31 27613/week @ 2024-02-07 30258/week @ 2024-02-14 30073/week @ 2024-02-21 31877/week @ 2024-02-28 34134/week @ 2024-03-06 31108/week @ 2024-03-13 32853/week @ 2024-03-20 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 34447/week @ 2024-05-01 25762/week @ 2024-05-08

143,693 downloads per month
Used in 505 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

~245KB