*! version 1.0.0 21MAR2016

Query color sight impairment values that were previously computed and return in macros.

help for brewsearch

brewsearch -- is a program used to query brewscheme
data sources to retrieve RGB values and/or simulated RGB values for different forms
of color sight impairment.

Syntax

brewsearch RGB_varname

Description

brewsearch is a simple program used to search for a color by RGB
value or the name of the color and will return the local macros: rgb, achromatopsia,
protanopia, deuteranopia, and tritanopia.

Examples

Install the XKCD named colors and search for an XKCD named color

brewcolors xkcd, make install

brewsearch "baby shit brown"

You can also search using an RGB tuple

brewsearch "255 127 14"

Returned Values

Macro Name Contents

r(rgb) RGB value looked up by command

r(achromatopsia) Achromatopsia simulated RGB value

r(protanopia) Protanopia simulated RGB value

r(deuteranopia) Deuteranopia simulated RGB value

r(tritanopia) Tritanopia simulated RGB value

Author

William R. Buchanan, Ph.D.

Data Scientist

Minneapolis Public Schools

William.Buchanan at mpls [dot] k12 [dot] mn [dot] us