I wrote an XYZ <-> LMS conversion so that the protanopia, deteranopia, and tritanopia filters can be applied in the LMS space and then converted back to whatever.
Usage example:
pastel color a3247b | pastel colorblind deut
Issue: The output doesn't exactly match what I see with Color Oracle, but it's pretty close.
I wrote an XYZ <-> LMS conversion so that the protanopia, deteranopia, and tritanopia filters can be applied in the LMS space and then converted back to whatever.
Usage example:
pastel color a3247b | pastel colorblind deut
Issue: The output doesn't exactly match what I see with Color Oracle, but it's pretty close.