||3 months ago|
|neue-gamut||8 months ago|
|neue-illuminants||8 months ago|
|neue-named||8 months ago|
|proptest-regressions||2 years ago|
|src||3 months ago|
|.gitignore||2 years ago|
|CHANGELOG.md||2 years ago|
|Cargo.lock||3 months ago|
|Cargo.toml||7 months ago|
|LICENSE||2 years ago|
|LICENSE.md||2 years ago|
|Makefile||2 years ago|
|README.md||2 years ago|
|devlog0.md||3 months ago|
|rust-toolchain.toml||3 months ago|
|rustfmt.toml||8 months ago|
Computes contrasting colour combinations.
Available via the Anti-Capitalist Software License for individuals, non-profit organisations, and worker-owned businesses.
Currently, this is just a plan for a project where I'm experimenting with different implementations. The idea is to make a library which can help create reasonable colour schemes. So far, I've already tried making a colour scheme called "Earl Grey" myself with two background colours and three shades of "neutral" and six hues. The idea is to help make sure that hues are different enough, that contrast is high enough and consistent with "pure colour" versions when desired (e.g. contrast between, say, red and white, is at least the same as it would be on a VGA colour scheme). Right now, I'm experimenting with converting between different representations of colours and writing the best code I can for that, while relying on as few magic numbers and equations as possible. It's rough.
Ultimately, this would be used by a program, sch, which helps manage colour schemes and lets you assign colours to things based upon user preference (e.g. we have a base scheme with all sorts of colours, but say, the user likes blue and wants to see more blue than any other colour, they can do that).
The name neue comes from the German word "neue" which means "new" and is often used in fonts to indicate a more modern version, e.g. Helvetica Neue. The "alte" name for the alternative binary is the opposite of neue, meaning "old". The goal of these two binaries is to offer a simple way of getting high-contrast versions of colours -- neue will try as much as possible to attain a 7:1 contrast ratio (WCAG AAA in all cases) whereas alte will always achieve a 4.5:1 contrast ratio (WCAG AA for small text, AAA for large text and UI elements).