Description Usage Arguments Value Examples
View source: R/check_contrast.R
returns a report from the Contrast Checker API about color contrast for accessibility
1 | check_contrast(fg_col, bg_col)
|
fg_col |
the Foreground Color |
bg_col |
the Background Color |
Color Contrast Report
1 | check_contrast(fg_col = "#21EA06", bg_col = "#483D3D")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.