Couleur nommée la plus proche · #05040B
#05040B
Couleur nommée la plus proche: Eight Ball
#05040B (rgb(5 4 11), hsl(249 47% 3%), oklch(0.114 0.02 291.5)) est la plus proche de la couleur nommée Eight Ball. Teintes, ombres, harmonies, contraste WCAG et APCA, et code CSS, Tailwind v4 et SCSS.
#05040B
oklch(0.114 0.02 291.5)
Conversions de couleur
- HEX
- #05040b
- RGB
- rgb(5 4 11)
- HSL
- hsl(249 47% 3%)
- HWB
- hwb(249 2% 96%)
- OKLCH
- oklch(0.114 0.02 291.5)
- OKLab
- oklab(0.114 0.007 -0.018)
- CIE Lab
- lab(1.27 1 -2.58)
- LCH
- lch(1.27 2.76 291.2)
- CMYK
- cmyk(55% 64% 0% 96%)
Teintes · Ombres · Tons
Teintes
- 17151E
- 2C2A33
- 424149
- 5A5961
- 737379
- 8E8D92
- A9A8AC
- C5C4C7
- E2E1E3
Ombres
- 040308
- 030206
- 020104
- 010102
- 010101
- 000001
- 000000
- 000000
- 000000
Tons
- 0E0D15
- 19171F
- 24232A
- 302F36
- 3C3B41
- 49484D
- 565659
- 646466
- 727273
Harmonies de couleurs
Complémentaire +180°
- 05040B
Eight Ball
- 050501
≈ Liquorice
Analogue -30° +30°
- 05040B
Eight Ball
- 02050C
≈ Eight Ball
- 080309
≈ Broken Tube
Triadique +120° +240°
- 05040B
Eight Ball
- 0A0301
≈ Liquorice
- 010704
≈ Black Metal
Complémentaire divisée +150° +210°
- 05040B
Eight Ball
- 080401
≈ Liquorice
- 020602
≈ Black Metal
Tétradique +90° +180° +270°
- 05040B
Eight Ball
- 0B0303
≈ Pupil
- 050501
≈ Liquorice
- 000707
≈ Eight Ball
Contraste et accessibilité
Ag
AAASur blanc
WCAG 20.41:1 · APCA Lc 106
Ag
FailSur noir
WCAG 1.02:1 · APCA Lc 0
Meilleure couleur de texte: #FFFFFF
WCAG 20.41:1 (AAA) · APCA Lc 106
Contrast pairs
Extraits de code
CSS
:root {
--eight-ball: #05040b;
--eight-ball-rgb: 5 4 11;
--eight-ball-oklch: oklch(0.114 0.02 291.5);
}
.element {
color: var(--eight-ball);
background-color: hsl(249 47% 3%);
border-color: oklch(0.114 0.02 291.5);
}Tailwind CSS v4
@theme {
--color-eight-ball: #05040b;
--color-eight-ball-50: #f5f4fa;
--color-eight-ball-100: #e8e7ee;
--color-eight-ball-200: #d4d3dc;
--color-eight-ball-300: #b7b6c1;
--color-eight-ball-400: #9e9da9;
--color-eight-ball-500: #868493;
--color-eight-ball-600: #71707c;
--color-eight-ball-700: #5b5963;
--color-eight-ball-800: #424149;
--color-eight-ball-900: #2d2d33;
--color-eight-ball-950: #1a1a1e;
}SCSS
$eight-ball: #05040b;
$eight-ball-rgb: 5, 4, 11;
$eight-ball-light: mix(#fff, $eight-ball, 20%);
$eight-ball-dark: mix(#000, $eight-ball, 20%);
.element {
color: $eight-ball;
box-shadow: 0 0 0 2px rgba($eight-ball, 0.35);
}