Shades of Midnight #1A2D40
Tints of Midnight #1A2D40
RGB
CMYK
RGB Variations
Color information
#1A2D40 (or 0x1A2D40) is known color: Midnight. HEX triplet: 1A, 2D and 40. RGB value is (26,45,64). Sum of RGB (Red+Green+Blue) = 26+45+64=135 (17% of max value = 765). Red value is 26 (10.55% from 255 or 19.26% from 135); Green value is 45 (17.97% from 255 or 33.33% from 135); Blue value is 64 (25.39% from 255 or 47.41% from 135); Max value from RGB is 64 - color contains mainly: blue. Hex color #1A2D40 is not a web safe color. Web safe color analog (approx): #333333. Inversed color of #1A2D40 is #E5D2BF. Grayscale: #292929. Windows color (decimal): -15061696 or 4205850. OLE color: 4205850.
HSL color Cylindrical-coordinate representation of color #1A2D40: hue angle of 210º degrees, saturation: 0.42, lightness: 0.18%. HSV value (or HSB Brightness) of color is 0.25% and HSV saturation: 0.59%. Process color model (Four color, CMYK) of #1A2D40 is Cyan = 0.59, Magento = 0.30, Yellow = 0 and Black (K on CMYK) = 0.75.
Color convert
| RGB | 26 | 45 | 64 | - |
| CMYK | 0.59 | 0.30 | 0 | 0.75 |
| HSL | 210º | 0.42% | 0.18% | - |
| HSV(B) | 210º | 0.59% | 0.25% | - |
| XYZ | 2.29 | 2.47 | 5.21 | - |
| YUV | 41.49 | 140.71 | 116.96 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 26 | 45 | 64 | 0.59 | 0.30 | 0 | 0.75 | 210 | 0.42 | 0.18 |
| Hex | 1A | 2D | 40 | 3B | 1E | 0 | 4B | D2 | 2A | 12 |
| Octal | 32 | 55 | 100 | 73 | 36 | 0 | 113 | 322 | 52 | 22 |
| Binary | 11010 | 101101 | 1000000 | 111011 | 11110 | 0 | 1001011 | 11010010 | 101010 | 10010 |
Color Harmonies of #1A2D40
Complementary color
Monochromatic Colors of #1A2D40
Black with #1A2D40
Text Example
Text Example
White with #1A2D40
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1A2D40; }
p { color: rgb(26,45,64); }
H1.HeaderClassName
{
color: #1A2D40;
}
.AnyTagClassName
{
color: #1A2D40;
}
</style>
background-color css
<style>
a { background-color: #1A2D40; }
a { background-color: rgb(26,45,64); }
div.DivClassName
{
background-color: #1A2D40;
}
.BgClassName
{
background-color: #1A2D40;
}
</style>
border-color css
<style>
span { border-color: #1A2D40; }
span { border-color: rgb(26,45,64); }
td.TdClassName
{
border-color: #1A2D40;
}
.TagClassName
{
border-color: #1A2D40;
}
</style>