Learn R Programming

savonliquide (version 0.2.0)

check_contrast: Color Contrast Accessibility Report

Description

returns a report from the Contrast Checker API about color contrast for accessibility

Usage

check_contrast(fg_col, bg_col)

Arguments

fg_col

the Foreground Color

bg_col

the Background Color

Value

Color Contrast Report

Examples

Run this code
# NOT RUN {
check_contrast(fg_col = "#21EA06", bg_col = "#483D3D")


# }

Run the code above in your browser using DataLab