Couleur nommée la plus proche · #221225
#221225
Couleur nommée la plus proche: Shot in the Dark
#221225 (rgb(34 18 37), hsl(291 35% 11%), oklch(0.214 0.043 321.1)) est la plus proche de la couleur nommée Shot in the Dark. Teintes, ombres, harmonies, contraste WCAG et APCA, et code CSS, Tailwind v4 et SCSS.
#221225
oklch(0.214 0.043 321.1)
Conversions de couleur
- HEX
- #221225
- RGB
- rgb(34 18 37)
- HSL
- hsl(291 35% 11%)
- HWB
- hwb(291 7% 85%)
- OKLCH
- oklch(0.214 0.043 321.1)
- OKLab
- oklab(0.214 0.033 -0.027)
- CIE Lab
- lab(8.14 11.64 -9.79)
- LCH
- lch(8.14 15.21 319.9)
- CMYK
- cmyk(8% 51% 0% 85%)
Teintes · Ombres · Tons
Teintes
- 352538
- 483A4B
- 5D505F
- 726774
- 887E8A
- 9F97A0
- B6B0B7
- CECACF
- E6E4E7
Ombres
- 1C0E1F
- 160A19
- 110713
- 0B040D
- 070208
- 030104
- 010102
- 000000
- 000000
Tons
- 2B1C2D
- 332636
- 3C303F
- 463B48
- 4F4651
- 59515A
- 625C63
- 6C686D
- 767476
Harmonies de couleurs
Complémentaire +180°
- 221225
Shot in the Dark
- 0D1E0A
≈ Clock Chimes Thirteen
Analogue -30° +30°
- 221225
Shot in the Dark
- 19152B
≈ Sambucus
- 28101B
≈ Inside
Triadique +120° +240°
- 221225
Shot in the Dark
- 231701
≈ Cannon Black
- 001E20
≈ Stellar Explorer
Complémentaire divisée +150° +210°
- 221225
Shot in the Dark
- 1A1B02
≈ Noir Mystique
- 001F17
≈ Clock Chimes Thirteen
Tétradique +90° +180° +270°
- 221225
Shot in the Dark
- 281305
≈ Shadow Play
- 0D1E0A
≈ Clock Chimes Thirteen
- 001C29
≈ Oxford by Night
Contraste et accessibilité
Ag
AAASur blanc
WCAG 17.77:1 · APCA Lc 104
Ag
FailSur noir
WCAG 1.18:1 · APCA Lc 0
Meilleure couleur de texte: #FFFFFF
WCAG 17.77:1 (AAA) · APCA Lc 104
Contrast pairs
Extraits de code
CSS
:root {
--shot-in-the-dark: #221225;
--shot-in-the-dark-rgb: 34 18 37;
--shot-in-the-dark-oklch: oklch(0.214 0.043 321.1);
}
.element {
color: var(--shot-in-the-dark);
background-color: hsl(291 35% 11%);
border-color: oklch(0.214 0.043 321.1);
}Tailwind CSS v4
@theme {
--color-shot-in-the-dark: #221225;
--color-shot-in-the-dark-50: #fbf1fc;
--color-shot-in-the-dark-100: #efe3f0;
--color-shot-in-the-dark-200: #decedf;
--color-shot-in-the-dark-300: #c3b0c4;
--color-shot-in-the-dark-400: #ab97ae;
--color-shot-in-the-dark-500: #947d98;
--color-shot-in-the-dark-600: #7d6a80;
--color-shot-in-the-dark-700: #645567;
--color-shot-in-the-dark-800: #493e4c;
--color-shot-in-the-dark-900: #332a35;
--color-shot-in-the-dark-950: #1e1820;
}SCSS
$shot-in-the-dark: #221225;
$shot-in-the-dark-rgb: 34, 18, 37;
$shot-in-the-dark-light: mix(#fff, $shot-in-the-dark, 20%);
$shot-in-the-dark-dark: mix(#000, $shot-in-the-dark, 20%);
.element {
color: $shot-in-the-dark;
box-shadow: 0 0 0 2px rgba($shot-in-the-dark, 0.35);
}