Shades of Midnight #1B2D42
Tints of Midnight #1B2D42
RGB
CMYK
RGB Variations
Color information
#1B2D42 (or 0x1B2D42) is known color: Midnight. HEX triplet: 1B, 2D and 42. RGB value is (27,45,66). Sum of RGB (Red+Green+Blue) = 27+45+66=138 (18% of max value = 765). Red value is 27 (10.94% from 255 or 19.57% from 138); Green value is 45 (17.97% from 255 or 32.61% 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 #1B2D42 is not a web safe color. Web safe color analog (approx): #333333. Inversed color of #1B2D42 is #E4D2BD. Grayscale: #292929. Windows color (decimal): -14996158 or 4336923. OLE color: 4336923.
HSL color Cylindrical-coordinate representation of color #1B2D42: hue angle of 212.31º degrees, saturation: 0.42, lightness: 0.18%. HSV value (or HSB Brightness) of color is 0.26% and HSV saturation: 0.59%. Process color model (Four color, CMYK) of #1B2D42 is Cyan = 0.59, Magento = 0.32, Yellow = 0 and Black (K on CMYK) = 0.74.
Color convert
| RGB | 27 | 45 | 66 | - |
| CMYK | 0.59 | 0.32 | 0 | 0.74 |
| HSL | 212.31º | 0.42% | 0.18% | - |
| HSV(B) | 212.31º | 0.59% | 0.26% | - |
| XYZ | 2.37 | 2.5 | 5.51 | - |
| YUV | 42.01 | 141.54 | 117.29 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 27 | 45 | 66 | 0.59 | 0.32 | 0 | 0.74 | 212.31 | 0.42 | 0.18 |
| Hex | 1B | 2D | 42 | 3B | 20 | 0 | 4A | D4 | 2A | 12 |
| Octal | 33 | 55 | 102 | 73 | 40 | 0 | 112 | 324 | 52 | 22 |
| Binary | 11011 | 101101 | 1000010 | 111011 | 100000 | 0 | 1001010 | 11010100 | 101010 | 10010 |
Color Harmonies of #1B2D42
Complementary color
Monochromatic Colors of #1B2D42
Black with #1B2D42
Text Example
Text Example
White with #1B2D42
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1B2D42; }
p { color: rgb(27,45,66); }
H1.HeaderClassName
{
color: #1B2D42;
}
.AnyTagClassName
{
color: #1B2D42;
}
</style>
background-color css
<style>
a { background-color: #1B2D42; }
a { background-color: rgb(27,45,66); }
div.DivClassName
{
background-color: #1B2D42;
}
.BgClassName
{
background-color: #1B2D42;
}
</style>
border-color css
<style>
span { border-color: #1B2D42; }
span { border-color: rgb(27,45,66); }
td.TdClassName
{
border-color: #1B2D42;
}
.TagClassName
{
border-color: #1B2D42;
}
</style>