A11yOtp
Toggle table of contents
common
Target filter
common
Switch theme
Search in API
Skip to content
A11yOtp
a11yotp
/
me.vprogrammers.a11yotp
/
OtpContrast
/
ratio
ratio
fun
ratio
(
foregroundRgb
:
Int
,
backgroundRgb
:
Int
)
:
Double
(
source
)
Contrast ratio between two colors, from 1.0 to 21.0.