Shades of Midnight #1B2A41
Tints of Midnight #1B2A41
RGB
CMYK
RGB Variations
Color information
#1B2A41 (or 0x1B2A41) is known color: Midnight. HEX triplet: 1B, 2A and 41. RGB value is (27,42,65). Sum of RGB (Red+Green+Blue) = 27+42+65=134 (17% of max value = 765). Red value is 27 (10.94% from 255 or 20.15% from 134); Green value is 42 (16.80% from 255 or 31.34% from 134); Blue value is 65 (25.78% from 255 or 48.51% from 134); Max value from RGB is 65 - color contains mainly: blue. Hex color #1B2A41 is not a web safe color. Web safe color analog (approx): #333333. Inversed color of #1B2A41 is #E4D5BE. Grayscale: #282828. Windows color (decimal): -14996927 or 4270619. OLE color: 4270619.
HSL color Cylindrical-coordinate representation of color #1B2A41: hue angle of 216.32º 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 #1B2A41 is Cyan = 0.58, Magento = 0.35, Yellow = 0 and Black (K on CMYK) = 0.75.
Color convert
| RGB | 27 | 42 | 65 | - |
| CMYK | 0.58 | 0.35 | 0 | 0.75 |
| HSL | 216.32º | 0.41% | 0.18% | - |
| HSV(B) | 216.32º | 0.58% | 0.25% | - |
| XYZ | 2.23 | 2.27 | 5.32 | - |
| YUV | 40.14 | 142.03 | 118.63 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 27 | 42 | 65 | 0.58 | 0.35 | 0 | 0.75 | 216.32 | 0.41 | 0.18 |
| Hex | 1B | 2A | 41 | 3A | 23 | 0 | 4B | D8 | 29 | 12 |
| Octal | 33 | 52 | 101 | 72 | 43 | 0 | 113 | 330 | 51 | 22 |
| Binary | 11011 | 101010 | 1000001 | 111010 | 100011 | 0 | 1001011 | 11011000 | 101001 | 10010 |
Color Harmonies of #1B2A41
Complementary color
Monochromatic Colors of #1B2A41
Black with #1B2A41
Text Example
Text Example
White with #1B2A41
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1B2A41; }
p { color: rgb(27,42,65); }
H1.HeaderClassName
{
color: #1B2A41;
}
.AnyTagClassName
{
color: #1B2A41;
}
</style>
background-color css
<style>
a { background-color: #1B2A41; }
a { background-color: rgb(27,42,65); }
div.DivClassName
{
background-color: #1B2A41;
}
.BgClassName
{
background-color: #1B2A41;
}
</style>
border-color css
<style>
span { border-color: #1B2A41; }
span { border-color: rgb(27,42,65); }
td.TdClassName
{
border-color: #1B2A41;
}
.TagClassName
{
border-color: #1B2A41;
}
</style>