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

#215 in Math

Download history 10991/week @ 2023-12-23 15870/week @ 2023-12-30 21042/week @ 2024-01-06 23227/week @ 2024-01-13 23780/week @ 2024-01-20 23661/week @ 2024-01-27 26912/week @ 2024-02-03 28199/week @ 2024-02-10 31347/week @ 2024-02-17 30404/week @ 2024-02-24 32265/week @ 2024-03-02 34933/week @ 2024-03-09 29796/week @ 2024-03-16 34337/week @ 2024-03-23 33439/week @ 2024-03-30 28451/week @ 2024-04-06

130,765 downloads per month
Used in 473 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