A web component for simulating color blindness in web application development.
npm install color-blindness-devtool
Import the package and wrap your HTML contents with the <color-blindness-devtool>
tag.
import 'color-blindness-devtool'
<color-blindness-devtool>
<!-- Your HTML contents here -->
</color-blindness-devtool>
You can disable the devtool by setting the disabled
attribute.
<color-blindness-devtool disabled></color-blindness-devtool>