A next-generation tool to create blazing-fast documentation sites
API
created:12/30/2020
updated:12/30/2020
loc
182
comments
5%

BoltColor

avatar of atanasster

Color item displaying the color as a block with AA color contrast tests. Design inspired by Bolt.

A11y tests

Navy
#001f5f
var(--bolt-color-navy)
Text sizeAaAa
#ffffff (15.43)
pass
pass
#000000 (1.36)
fail
fail
Teal
#10a5ac
var(--bolt-color-teal)
Text sizeAaAa
#ffffff (3.00)
pass
fail
#000000 (7.00)
pass
pass
Orange
#f76923
var(--bolt-color-orange)
Text sizeAaAa
#ffffff (3.00)
pass
fail
#000000 (7.00)
pass
pass
Yellow
#ffc836
var(--bolt-color-yellow)
Text sizeAaAa
#ffffff (1.55)
fail
fail
#000000 (13.57)
pass
pass
Wine
#661d34
var(--bolt-color-wine)
Text sizeAaAa
#ffffff (11.73)
pass
pass
#000000 (1.79)
fail
fail
Pink
#e63690
var(--bolt-color-pink)
Text sizeAaAa
#ffffff (3.97)
pass
fail
#000000 (5.29)
pass
pass
Berry
#ac1361
var(--bolt-color-berry)
Text sizeAaAa
#ffffff (6.95)
pass
pass
#000000 (3.02)
pass
fail
Violet
#5f67b9
var(--bolt-color-violet)
Text sizeAaAa
#ffffff (5.09)
pass
pass
#000000 (4.13)
pass
fail
Gray
#8d8e99
var(--bolt-color-gray)
Text sizeAaAa
#ffffff (3.25)
pass
fail
#000000 (6.46)
pass
pass
Black
#151619
var(--bolt-color-black)
Text sizeAaAa
#ffffff (18.09)
pass
pass
#000000 (1.16)
fail
fail
White
#ffffff
var(--bolt-color-white)
Text sizeAaAa
#ffffff (1.00)
fail
fail
#000000 (21.00)
pass
pass

Viewport

Navy
#001f5f
var(--bolt-color-navy)
Text sizeAaAa
#ffffff (15.43)
pass
pass
#000000 (1.36)
fail
fail
Teal
#10a5ac
var(--bolt-color-teal)
Text sizeAaAa
#ffffff (3.00)
pass
fail
#000000 (7.00)
pass
pass
Orange
#f76923
var(--bolt-color-orange)
Text sizeAaAa
#ffffff (3.00)
pass
fail
#000000 (7.00)
pass
pass
Yellow
#ffc836
var(--bolt-color-yellow)
Text sizeAaAa
#ffffff (1.55)
fail
fail
#000000 (13.57)
pass
pass
Wine
#661d34
var(--bolt-color-wine)
Text sizeAaAa
#ffffff (11.73)
pass
pass
#000000 (1.79)
fail
fail
Pink
#e63690
var(--bolt-color-pink)
Text sizeAaAa
#ffffff (3.97)
pass
fail
#000000 (5.29)
pass
pass
Berry
#ac1361
var(--bolt-color-berry)
Text sizeAaAa
#ffffff (6.95)
pass
pass
#000000 (3.02)
pass
fail
Violet
#5f67b9
var(--bolt-color-violet)
Text sizeAaAa
#ffffff (5.09)
pass
pass
#000000 (4.13)
pass
fail
Gray
#8d8e99
var(--bolt-color-gray)
Text sizeAaAa
#ffffff (3.25)
pass
fail
#000000 (6.46)
pass
pass
Black
#151619
var(--bolt-color-black)
Text sizeAaAa
#ffffff (18.09)
pass
pass
#000000 (1.16)
fail
fail
White
#ffffff
var(--bolt-color-white)
Text sizeAaAa
#ffffff (1.00)
fail
fail
#000000 (21.00)
pass
pass
320px
Navy
#001f5f
var(--bolt-color-navy)
Text sizeAaAa
#ffffff (15.43)
pass
pass
#000000 (1.36)
fail
fail
Teal
#10a5ac
var(--bolt-color-teal)
Text sizeAaAa
#ffffff (3.00)
pass
fail
#000000 (7.00)
pass
pass
Orange
#f76923
var(--bolt-color-orange)
Text sizeAaAa
#ffffff (3.00)
pass
fail
#000000 (7.00)
pass
pass
Yellow
#ffc836
var(--bolt-color-yellow)
Text sizeAaAa
#ffffff (1.55)
fail
fail
#000000 (13.57)
pass
pass
Wine
#661d34
var(--bolt-color-wine)
Text sizeAaAa
#ffffff (11.73)
pass
pass
#000000 (1.79)
fail
fail
Pink
#e63690
var(--bolt-color-pink)
Text sizeAaAa
#ffffff (3.97)
pass
fail
#000000 (5.29)
pass
pass
Berry
#ac1361
var(--bolt-color-berry)
Text sizeAaAa
#ffffff (6.95)
pass
pass
#000000 (3.02)
pass
fail
Violet
#5f67b9
var(--bolt-color-violet)
Text sizeAaAa
#ffffff (5.09)
pass
pass
#000000 (4.13)
pass
fail
Gray
#8d8e99
var(--bolt-color-gray)
Text sizeAaAa
#ffffff (3.25)
pass
fail
#000000 (6.46)
pass
pass
Black
#151619
var(--bolt-color-black)
Text sizeAaAa
#ffffff (18.09)
pass
pass
#000000 (1.16)
fail
fail
White
#ffffff
var(--bolt-color-white)
Text sizeAaAa
#ffffff (1.00)
fail
fail
#000000 (21.00)
pass
pass
375px
Navy
#001f5f
var(--bolt-color-navy)
Text sizeAaAa
#ffffff (15.43)
pass
pass
#000000 (1.36)
fail
fail
Teal
#10a5ac
var(--bolt-color-teal)
Text sizeAaAa
#ffffff (3.00)
pass
fail
#000000 (7.00)
pass
pass
Orange
#f76923
var(--bolt-color-orange)
Text sizeAaAa
#ffffff (3.00)
pass
fail
#000000 (7.00)
pass
pass
Yellow
#ffc836
var(--bolt-color-yellow)
Text sizeAaAa
#ffffff (1.55)
fail
fail
#000000 (13.57)
pass
pass
Wine
#661d34
var(--bolt-color-wine)
Text sizeAaAa
#ffffff (11.73)
pass
pass
#000000 (1.79)
fail
fail
Pink
#e63690
var(--bolt-color-pink)
Text sizeAaAa
#ffffff (3.97)
pass
fail
#000000 (5.29)
pass
pass
Berry
#ac1361
var(--bolt-color-berry)
Text sizeAaAa
#ffffff (6.95)
pass
pass
#000000 (3.02)
pass
fail
Violet
#5f67b9
var(--bolt-color-violet)
Text sizeAaAa
#ffffff (5.09)
pass
pass
#000000 (4.13)
pass
fail
Gray
#8d8e99
var(--bolt-color-gray)
Text sizeAaAa
#ffffff (3.25)
pass
fail
#000000 (6.46)
pass
pass
Black
#151619
var(--bolt-color-black)
Text sizeAaAa
#ffffff (18.09)
pass
pass
#000000 (1.16)
fail
fail
White
#ffffff
var(--bolt-color-white)
Text sizeAaAa
#ffffff (1.00)
fail
fail
#000000 (21.00)
pass
pass
768px
Navy
#001f5f
var(--bolt-color-navy)
Text sizeAaAa
#ffffff (15.43)
pass
pass
#000000 (1.36)
fail
fail
Teal
#10a5ac
var(--bolt-color-teal)
Text sizeAaAa
#ffffff (3.00)
pass
fail
#000000 (7.00)
pass
pass
Orange
#f76923
var(--bolt-color-orange)
Text sizeAaAa
#ffffff (3.00)
pass
fail
#000000 (7.00)
pass
pass
Yellow
#ffc836
var(--bolt-color-yellow)
Text sizeAaAa
#ffffff (1.55)
fail
fail
#000000 (13.57)
pass
pass
Wine
#661d34
var(--bolt-color-wine)
Text sizeAaAa
#ffffff (11.73)
pass
pass
#000000 (1.79)
fail
fail
Pink
#e63690
var(--bolt-color-pink)
Text sizeAaAa
#ffffff (3.97)
pass
fail
#000000 (5.29)
pass
pass
Berry
#ac1361
var(--bolt-color-berry)
Text sizeAaAa
#ffffff (6.95)
pass
pass
#000000 (3.02)
pass
fail
Violet
#5f67b9
var(--bolt-color-violet)
Text sizeAaAa
#ffffff (5.09)
pass
pass
#000000 (4.13)
pass
fail
Gray
#8d8e99
var(--bolt-color-gray)
Text sizeAaAa
#ffffff (3.25)
pass
fail
#000000 (6.46)
pass
pass
Black
#151619
var(--bolt-color-black)
Text sizeAaAa
#ffffff (18.09)
pass
pass
#000000 (1.16)
fail
fail
White
#ffffff
var(--bolt-color-white)
Text sizeAaAa
#ffffff (1.00)
fail
fail
#000000 (21.00)
pass
pass
1024px