Shades of Midnight #1B2A42
Tints of Midnight #1B2A42
RGB
CMYK
RGB Variations
Color information
#1B2A42 (or 0x1B2A42) is known color: Midnight. HEX triplet: 1B, 2A and 42. RGB value is (27,42,66). Sum of RGB (Red+Green+Blue) = 27+42+66=135 (17% of max value = 765). Red value is 27 (10.94% from 255 or 20% from 135); Green value is 42 (16.80% from 255 or 31.11% 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 #1B2A42 is not a web safe color. Web safe color analog (approx): #333333. Inversed color of #1B2A42 is #E4D5BD. Grayscale: #282828. Windows color (decimal): -14996926 or 4336155. OLE color: 4336155.
HSL color Cylindrical-coordinate representation of color #1B2A42: hue angle of 216.92º 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 #1B2A42 is Cyan = 0.59, Magento = 0.36, Yellow = 0 and Black (K on CMYK) = 0.74.
Color convert
| RGB | 27 | 42 | 66 | - |
| CMYK | 0.59 | 0.36 | 0 | 0.74 |
| HSL | 216.92º | 0.42% | 0.18% | - |
| HSV(B) | 216.92º | 0.59% | 0.26% | - |
| XYZ | 2.26 | 2.28 | 5.48 | - |
| YUV | 40.25 | 142.53 | 118.55 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 27 | 42 | 66 | 0.59 | 0.36 | 0 | 0.74 | 216.92 | 0.42 | 0.18 |
| Hex | 1B | 2A | 42 | 3B | 24 | 0 | 4A | D9 | 2A | 12 |
| Octal | 33 | 52 | 102 | 73 | 44 | 0 | 112 | 331 | 52 | 22 |
| Binary | 11011 | 101010 | 1000010 | 111011 | 100100 | 0 | 1001010 | 11011001 | 101010 | 10010 |
Color Harmonies of #1B2A42
Complementary color
Monochromatic Colors of #1B2A42
Black with #1B2A42
Text Example
Text Example
White with #1B2A42
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1B2A42; }
p { color: rgb(27,42,66); }
H1.HeaderClassName
{
color: #1B2A42;
}
.AnyTagClassName
{
color: #1B2A42;
}
</style>
background-color css
<style>
a { background-color: #1B2A42; }
a { background-color: rgb(27,42,66); }
div.DivClassName
{
background-color: #1B2A42;
}
.BgClassName
{
background-color: #1B2A42;
}
</style>
border-color css
<style>
span { border-color: #1B2A42; }
span { border-color: rgb(27,42,66); }
td.TdClassName
{
border-color: #1B2A42;
}
.TagClassName
{
border-color: #1B2A42;
}
</style>