Shades of Midnight #1B2D40
Tints of Midnight #1B2D40
RGB
CMYK
RGB Variations
Color information
#1B2D40 (or 0x1B2D40) is known color: Midnight. HEX triplet: 1B, 2D and 40. RGB value is (27,45,64). Sum of RGB (Red+Green+Blue) = 27+45+64=136 (18% of max value = 765). Red value is 27 (10.94% from 255 or 19.85% from 136); Green value is 45 (17.97% from 255 or 33.09% from 136); Blue value is 64 (25.39% from 255 or 47.06% from 136); Max value from RGB is 64 - color contains mainly: blue. Hex color #1B2D40 is not a web safe color. Web safe color analog (approx): #333333. Inversed color of #1B2D40 is #E4D2BF. Grayscale: #292929. Windows color (decimal): -14996160 or 4205851. OLE color: 4205851.
HSL color Cylindrical-coordinate representation of color #1B2D40: hue angle of 210.81º degrees, saturation: 0.41, lightness: 0.18%. HSV value (or HSB Brightness) of color is 0.25% and HSV saturation: 0.58%. Process color model (Four color, CMYK) of #1B2D40 is Cyan = 0.58, Magento = 0.30, Yellow = 0 and Black (K on CMYK) = 0.75.
Color convert
| RGB | 27 | 45 | 64 | - |
| CMYK | 0.58 | 0.30 | 0 | 0.75 |
| HSL | 210.81º | 0.41% | 0.18% | - |
| HSV(B) | 210.81º | 0.58% | 0.25% | - |
| XYZ | 2.32 | 2.48 | 5.21 | - |
| YUV | 41.78 | 140.54 | 117.46 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 27 | 45 | 64 | 0.58 | 0.30 | 0 | 0.75 | 210.81 | 0.41 | 0.18 |
| Hex | 1B | 2D | 40 | 3A | 1E | 0 | 4B | D3 | 29 | 12 |
| Octal | 33 | 55 | 100 | 72 | 36 | 0 | 113 | 323 | 51 | 22 |
| Binary | 11011 | 101101 | 1000000 | 111010 | 11110 | 0 | 1001011 | 11010011 | 101001 | 10010 |
Color Harmonies of #1B2D40
Complementary color
Monochromatic Colors of #1B2D40
Black with #1B2D40
Text Example
Text Example
White with #1B2D40
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1B2D40; }
p { color: rgb(27,45,64); }
H1.HeaderClassName
{
color: #1B2D40;
}
.AnyTagClassName
{
color: #1B2D40;
}
</style>
background-color css
<style>
a { background-color: #1B2D40; }
a { background-color: rgb(27,45,64); }
div.DivClassName
{
background-color: #1B2D40;
}
.BgClassName
{
background-color: #1B2D40;
}
</style>
border-color css
<style>
span { border-color: #1B2D40; }
span { border-color: rgb(27,45,64); }
td.TdClassName
{
border-color: #1B2D40;
}
.TagClassName
{
border-color: #1B2D40;
}
</style>