Shades of Midnight #1A2E42
Tints of Midnight #1A2E42
RGB
CMYK
RGB Variations
Color information
#1A2E42 (or 0x1A2E42) is known color: Midnight. HEX triplet: 1A, 2E and 42. RGB value is (26,46,66). Sum of RGB (Red+Green+Blue) = 26+46+66=138 (18% of max value = 765). Red value is 26 (10.55% from 255 or 18.84% from 138); Green value is 46 (18.36% from 255 or 33.33% from 138); Blue value is 66 (26.17% from 255 or 47.83% from 138); Max value from RGB is 66 - color contains mainly: blue. Hex color #1A2E42 is not a web safe color. Web safe color analog (approx): #333333. Inversed color of #1A2E42 is #E5D1BD. Grayscale: #2A2A2A. Windows color (decimal): -15061438 or 4337178. OLE color: 4337178.
HSL color Cylindrical-coordinate representation of color #1A2E42: hue angle of 210º degrees, saturation: 0.43, lightness: 0.18%. HSV value (or HSB Brightness) of color is 0.26% and HSV saturation: 0.61%. Process color model (Four color, CMYK) of #1A2E42 is Cyan = 0.61, Magento = 0.30, Yellow = 0 and Black (K on CMYK) = 0.74.
Color convert
| RGB | 26 | 46 | 66 | - |
| CMYK | 0.61 | 0.30 | 0 | 0.74 |
| HSL | 210º | 0.43% | 0.18% | - |
| HSV(B) | 210º | 0.61% | 0.26% | - |
| XYZ | 2.39 | 2.57 | 5.52 | - |
| YUV | 42.3 | 141.37 | 116.37 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 26 | 46 | 66 | 0.61 | 0.30 | 0 | 0.74 | 210 | 0.43 | 0.18 |
| Hex | 1A | 2E | 42 | 3D | 1E | 0 | 4A | D2 | 2B | 12 |
| Octal | 32 | 56 | 102 | 75 | 36 | 0 | 112 | 322 | 53 | 22 |
| Binary | 11010 | 101110 | 1000010 | 111101 | 11110 | 0 | 1001010 | 11010010 | 101011 | 10010 |
Color Harmonies of #1A2E42
Complementary color
Monochromatic Colors of #1A2E42
Black with #1A2E42
Text Example
Text Example
White with #1A2E42
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1A2E42; }
p { color: rgb(26,46,66); }
H1.HeaderClassName
{
color: #1A2E42;
}
.AnyTagClassName
{
color: #1A2E42;
}
</style>
background-color css
<style>
a { background-color: #1A2E42; }
a { background-color: rgb(26,46,66); }
div.DivClassName
{
background-color: #1A2E42;
}
.BgClassName
{
background-color: #1A2E42;
}
</style>
border-color css
<style>
span { border-color: #1A2E42; }
span { border-color: rgb(26,46,66); }
td.TdClassName
{
border-color: #1A2E42;
}
.TagClassName
{
border-color: #1A2E42;
}
</style>