check_contrast: Color Contrast Accessibility Report

Description Usage Arguments Value Examples

View source: R/check_contrast.R

Description

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

Usage

1
check_contrast(fg_col, bg_col)

Arguments

fg_col

the Foreground Color

bg_col

the Background Color

Value

Color Contrast Report

Examples

1
check_contrast(fg_col = "#21EA06", bg_col = "#483D3D")

savonliquide documentation built on Feb. 23, 2021, 1:07 a.m.