Màu có tên gần nhất · #02787D
#02787D
Màu có tên gần nhất: Prismarine
#02787D (rgb(2 120 125), hsl(182 97% 25%), oklch(0.521 0.088 199.9)) gần nhất với màu có tên Prismarine. Xem sắc nhạt, sắc đậm, hòa sắc, tương phản WCAG và APCA, cùng mã CSS, Tailwind v4 và SCSS.
#02787D
oklch(0.521 0.088 199.9)
Chuyển đổi màu
- HEX
- #02787d
- RGB
- rgb(2 120 125)
- HSL
- hsl(182 97% 25%)
- HWB
- hwb(182 1% 51%)
- OKLCH
- oklch(0.521 0.088 199.9)
- OKLab
- oklab(0.521 -0.083 -0.03)
- CIE Lab
- lab(45.25 -27.59 -11.28)
- LCH
- lch(45.25 29.8 202.2)
- CMYK
- cmyk(98% 4% 0% 51%)
Sắc nhạt · Sắc đậm · Sắc xám
Sắc nhạt
- 318589
- 4C9296
- 649FA2
- 7BADAF
- 91BABC
- A7C8C9
- BDD5D6
- D3E3E4
- E9F1F1
Sắc đậm
- 01676C
- 01575B
- 01484B
- 00393B
- 002A2C
- 001D1E
- 001011
- 000505
- 000101
Sắc xám
- 22797D
- 337A7E
- 407B7E
- 4B7C7E
- 557D7F
- 5F7D7F
- 677E7F
- 707F80
- 787F80
Hòa sắc
Bổ túc +180°
- 02787D
Prismarine
- 955354
≈ Brown Cerberus
Tương đồng -30° +30°
- 02787D
Prismarine
- 267961
≈ Pinehurst
- 267292
≈ Devil Blue
Bộ ba +120° +240°
- 02787D
Prismarine
- 805889
≈ Purple Mystery
- 846326
≈ Kumera
Bổ túc chia +150° +210°
- 02787D
Prismarine
- 8F5370
≈ Merlin’s Cloak
- 925938
≈ Chōjicha Brown
Bộ bốn +90° +180° +270°
Tương phản và khả năng tiếp cận
Ag
AATrên nền trắng
WCAG 5.26:1 · APCA Lc 76
Ag
FailTrên nền đen
WCAG 3.98:1 · APCA Lc 26
Màu chữ tốt nhất: #FFFFFF
WCAG 5.26:1 (AA) · APCA Lc 76
Contrast pairs
Đoạn mã
CSS
:root {
--prismarine: #02787d;
--prismarine-rgb: 2 120 125;
--prismarine-oklch: oklch(0.521 0.088 199.9);
}
.element {
color: var(--prismarine);
background-color: hsl(182 97% 25%);
border-color: oklch(0.521 0.088 199.9);
}Tailwind CSS v4
@theme {
--color-prismarine: #02787d;
--color-prismarine-50: #d9fdff;
--color-prismarine-100: #c7f1f4;
--color-prismarine-200: #a8e0e4;
--color-prismarine-300: #80c5cb;
--color-prismarine-400: #58aeb3;
--color-prismarine-500: #24979d;
--color-prismarine-600: #228085;
--color-prismarine-700: #1c676a;
--color-prismarine-800: #124c4d;
--color-prismarine-900: #0b3436;
--color-prismarine-950: #002021;
}SCSS
$prismarine: #02787d;
$prismarine-rgb: 2, 120, 125;
$prismarine-light: mix(#fff, $prismarine, 20%);
$prismarine-dark: mix(#000, $prismarine, 20%);
.element {
color: $prismarine;
box-shadow: 0 0 0 2px rgba($prismarine, 0.35);
}