Shades of Midnight #1A2B42
Tints of Midnight #1A2B42
RGB
CMYK
RGB Variations
Color information
#1A2B42 (or 0x1A2B42) is known color: Midnight. HEX triplet: 1A, 2B and 42. RGB value is (26,43,66). Sum of RGB (Red+Green+Blue) = 26+43+66=135 (17% of max value = 765). Red value is 26 (10.55% from 255 or 19.26% from 135); Green value is 43 (17.19% from 255 or 31.85% from 135); Blue value is 66 (26.17% from 255 or 48.89% from 135); Max value from RGB is 66 - color contains mainly: blue. Hex color #1A2B42 is not a web safe color. Web safe color analog (approx): #333333. Inversed color of #1A2B42 is #E5D4BD. Grayscale: #282828. Windows color (decimal): -15062206 or 4336410. OLE color: 4336410.
HSL color Cylindrical-coordinate representation of color #1A2B42: hue angle of 214.5º 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 #1A2B42 is Cyan = 0.61, Magento = 0.35, Yellow = 0 and Black (K on CMYK) = 0.74.
Color convert
| RGB | 26 | 43 | 66 | - |
| CMYK | 0.61 | 0.35 | 0 | 0.74 |
| HSL | 214.5º | 0.43% | 0.18% | - |
| HSV(B) | 214.5º | 0.61% | 0.26% | - |
| XYZ | 2.27 | 2.34 | 5.49 | - |
| YUV | 40.54 | 142.37 | 117.63 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 26 | 43 | 66 | 0.61 | 0.35 | 0 | 0.74 | 214.5 | 0.43 | 0.18 |
| Hex | 1A | 2B | 42 | 3D | 23 | 0 | 4A | D6 | 2B | 12 |
| Octal | 32 | 53 | 102 | 75 | 43 | 0 | 112 | 326 | 53 | 22 |
| Binary | 11010 | 101011 | 1000010 | 111101 | 100011 | 0 | 1001010 | 11010110 | 101011 | 10010 |
Color Harmonies of #1A2B42
Complementary color
Monochromatic Colors of #1A2B42
Black with #1A2B42
Text Example
Text Example
White with #1A2B42
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1A2B42; }
p { color: rgb(26,43,66); }
H1.HeaderClassName
{
color: #1A2B42;
}
.AnyTagClassName
{
color: #1A2B42;
}
</style>
background-color css
<style>
a { background-color: #1A2B42; }
a { background-color: rgb(26,43,66); }
div.DivClassName
{
background-color: #1A2B42;
}
.BgClassName
{
background-color: #1A2B42;
}
</style>
border-color css
<style>
span { border-color: #1A2B42; }
span { border-color: rgb(26,43,66); }
td.TdClassName
{
border-color: #1A2B42;
}
.TagClassName
{
border-color: #1A2B42;
}
</style>