# Color Picker and Preview A color picker preview where you can choose to have the color or backgroundColor get updated based on the result of a color picker. It also supports ensuring the foreground text is always readable by performing a YIQ calculation to set the text to black or white based on the contrast of the color and backgroundColor. ## Usage ```html
A