color_blindness_sim
Simulate how any hex color appears to users with deuteranopia, protanopia, tritanopia, or achromatopsia to ensure color accessibility.
Instructions
Simulate how a color appears with different types of color blindness.
Parameters:
hex_color — Hex color without # (e.g. '3498db').
deficiency — 'deuteranopia' (default), 'protanopia', 'tritanopia', or 'achromatopsia'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hex_color | Yes | ||
| deficiency | No | deuteranopia |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |