Wolfram Language
Paclet Repository
Community-contributed installable additions to the Wolfram Language
Primary Navigation
Categories
Cloud & Deployment
Core Language & Structure
Data Manipulation & Analysis
Engineering Data & Computation
External Interfaces & Connections
Financial Data & Computation
Geographic Data & Computation
Geometry
Graphs & Networks
Higher Mathematical Computation
Images
Knowledge Representation & Natural Language
Machine Learning
Notebook Documents & Presentation
Scientific and Medical Data & Computation
Social, Cultural & Linguistic Data
Strings & Text
Symbolic & Numeric Computation
System Operation & Setup
Time-Related Computation
User Interface Construction
Visualization & Graphics
Random Paclet
Alphabetical List
Using Paclets
Create a Paclet
Get Started
Download Definition Notebook
Learn More about
Wolfram Language
AccessibleColors
Guides
AccessibleColors
Tech Notes
Designing Accessible Color Schemes
Symbols
AccessibleTextColor
AdjustForContrast
WCAGContrastRatio
WCAGLevel
Overviews
AccessibleColors
AccessibleColors
AccessibleColors adds the WCAG accessibility layer the Wolfram Language does not ship: contrast ratios, conformance levels, and contrast-driven color choices. It builds on the built-in color primitives (
C
o
l
o
r
C
o
n
v
e
r
t
,
B
l
e
n
d
) and works with any color the language understands, including named color
E
n
t
i
t
y
values, the curated
S
t
a
n
d
a
r
d
R
e
d
,
S
t
a
n
d
a
r
d
B
l
u
e
,
…
palette, and
L
i
g
h
t
D
a
r
k
S
w
i
t
c
h
e
d
colors for light/dark adaptive interfaces. It is the contrast-checking companion to the broader
A
c
c
e
s
s
i
b
i
l
i
t
y
features.
W
C
A
G
C
o
n
t
r
a
s
t
R
a
t
i
o
— the WCAG 2.x contrast ratio between two colors, from 1 to 21
W
C
A
G
L
e
v
e
l
— the conformance level (
"
A
A
A
"
or
"
A
A
"
, else
M
i
s
s
i
n
g
) of a color pair
A
c
c
e
s
s
i
b
l
e
T
e
x
t
C
o
l
o
r
— the most legible text color for a given background
A
d
j
u
s
t
F
o
r
C
o
n
t
r
a
s
t
— nudges a foreground color until it meets a target contrast
R
e
l
a
t
e
d
G
u
i
d
e
s
▪
C
o
l
o
r
s
▪
C
o
l
o
r
S
c
h
e
m
e
s
▪
A
c
c
e
s
s
i
b
i
l
i
t
y
▪
W
C
A
G
2
.
1
c
o
n
t
r
a
s
t
g
u
i
d
a
n
c
e
"
"