| Crates.io | contrasted |
| lib.rs | contrasted |
| version | 0.1.3 |
| created_at | 2025-04-22 23:19:04.429271+00 |
| updated_at | 2025-05-19 01:42:41.644334+00 |
| description | Simple library for checking the contrast between two colors. |
| homepage | |
| repository | https://github.com/trisuaso/contrasted |
| max_upload_size | |
| id | 1644798 |
| size | 40,688 |
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.