contrasted

Crates.iocontrasted
lib.rscontrasted
version0.1.3
created_at2025-04-22 23:19:04.429271+00
updated_at2025-05-19 01:42:41.644334+00
descriptionSimple library for checking the contrast between two colors.
homepage
repositoryhttps://github.com/trisuaso/contrasted
max_upload_size
id1644798
size40,688
trisua (trisuaso)

documentation

README

contrasted

Simple library for checking the contrast between two colors. Checks contrast ratio according to the WCAG 2 (corrected to use 0.04045 instead of 0.03928.

Used in Tetratto to show people when their custom themes are absolutely awful.

Commit count: 5

cargo fmt