Shades of Midnight #1A2D42
Tints of Midnight #1A2D42
RGB
CMYK
RGB Variations
Color information
#1A2D42 (or 0x1A2D42) is known color: Midnight. HEX triplet: 1A, 2D and 42. RGB value is (26,45,66). Sum of RGB (Red+Green+Blue) = 26+45+66=137 (18% of max value = 765). Red value is 26 (10.55% from 255 or 18.98% from 137); Green value is 45 (17.97% from 255 or 32.85% from 137); Blue value is 66 (26.17% from 255 or 48.18% from 137); Max value from RGB is 66 - color contains mainly: blue. Hex color #1A2D42 is not a web safe color. Web safe color analog (approx): #333333. Inversed color of #1A2D42 is #E5D2BD. Grayscale: #292929. Windows color (decimal): -15061694 or 4336922. OLE color: 4336922.
HSL color Cylindrical-coordinate representation of color #1A2D42: hue angle of 211.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 #1A2D42 is Cyan = 0.61, Magento = 0.32, Yellow = 0 and Black (K on CMYK) = 0.74.
Color convert
| RGB | 26 | 45 | 66 | - |
| CMYK | 0.61 | 0.32 | 0 | 0.74 |
| HSL | 211.5º | 0.43% | 0.18% | - |
| HSV(B) | 211.5º | 0.61% | 0.26% | - |
| XYZ | 2.35 | 2.49 | 5.51 | - |
| YUV | 41.71 | 141.71 | 116.79 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 26 | 45 | 66 | 0.61 | 0.32 | 0 | 0.74 | 211.5 | 0.43 | 0.18 |
| Hex | 1A | 2D | 42 | 3D | 20 | 0 | 4A | D4 | 2B | 12 |
| Octal | 32 | 55 | 102 | 75 | 40 | 0 | 112 | 324 | 53 | 22 |
| Binary | 11010 | 101101 | 1000010 | 111101 | 100000 | 0 | 1001010 | 11010100 | 101011 | 10010 |
Color Harmonies of #1A2D42
Complementary color
Monochromatic Colors of #1A2D42
Black with #1A2D42
Text Example
Text Example
White with #1A2D42
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1A2D42; }
p { color: rgb(26,45,66); }
H1.HeaderClassName
{
color: #1A2D42;
}
.AnyTagClassName
{
color: #1A2D42;
}
</style>
background-color css
<style>
a { background-color: #1A2D42; }
a { background-color: rgb(26,45,66); }
div.DivClassName
{
background-color: #1A2D42;
}
.BgClassName
{
background-color: #1A2D42;
}
</style>
border-color css
<style>
span { border-color: #1A2D42; }
span { border-color: rgb(26,45,66); }
td.TdClassName
{
border-color: #1A2D42;
}
.TagClassName
{
border-color: #1A2D42;
}
</style>