o
odinpkg.dev
packages / library / Color-Blind-Easy-Color-Name-in-Odin

Color-Blind-Easy-Color-Name-in-Odin

27c418clibrary

A simple project to assist color blind persons. Made in the Odin programming language.

No license · updated 3 years ago

Color Blind Easy Color Name in Odin

A simple project to assist color blind persons. Made in the Odin programming language.

Description

A simple project that given a color code in hexadecimal String,

$ ./color_blind_easy_color_name d3c2a5
  Slightly Dark Orangish White

or 

$ ./color_blind_easy_color_name D3C2A5
  Slightly Dark Orangish White

gives back a description of the color has a string. The description is perceptually good for a color blind person. The majority of color blind persons don't see only black and white color, or gray shades, but normally they are more sensible to one color then the others.

The reason why I did this small program is:
In the world population 8% of men and 0.5% of women are color blind. This is roughly 300 million men and 19 million women. There should exist free programs to assist them.
Also there are many different methods to do a color picker depending on the operating system you are (Windows, Linux or Mac) and depending, for example in Linux if you have a X or Wayland windows system.
Many of the possible solution work with a shell script and you can simply pipe it to this program and redirect the output.This is a fast executing program.

The color text descriptions where extracted and reformated from a section from the free accessible file https://www.hikarun.com/e/color-fr.xml There you can find a free windows program for color blind persons. See my formatted file for details.

License

The license of the my formatted description file is the license from it's original author that is available in the link above.
The license of my source code is MIT Open Source License.

Have fun

Best regards,
Joao Carvalho