19 releases (9 breaking)

0.29.1 Oct 1, 2024
0.28.1 Jul 5, 2024
0.27.1 Mar 29, 2024
0.24.1 Nov 30, 2023
0.20.0 Dec 8, 2022

#153 in Math

Download history 47533/week @ 2024-07-20 47335/week @ 2024-07-27 48204/week @ 2024-08-03 52445/week @ 2024-08-10 47131/week @ 2024-08-17 47994/week @ 2024-08-24 45475/week @ 2024-08-31 40932/week @ 2024-09-07 34322/week @ 2024-09-14 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 58755/week @ 2024-11-02

221,028 downloads per month
Used in 676 crates (9 directly)

MIT/Apache

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

~230KB