Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

chroma js contrast check

 // contrast smaller than 4.5 = too lowchroma.contrast('pink', 'hotpink');// contrast greater than 4.5 = high enoughchroma.contrast('pink', 'purple');1.7216.124
Source by gka.github.io #
 
PREVIOUS NEXT
Tagged: #chroma #js #contrast #check
ADD COMMENT
Topic
Name
9+1 =