Simulate a color under colorblindness
simulateColorConvert a hex color to how it appears for protan, deutan, or tritan color blindness.
Instructions
Return how a single hex color appears to someone with a given type of color blindness (protan, deutan, or tritan).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | Color-vision deficiency type | |
| color | Yes | Hex color, e.g. #d7191c |