Shades of Midnight #1A2F48
Tints of Midnight #1A2F48
RGB
CMYK
RGB Variations
Color information
#1A2F48 (or 0x1A2F48) is known color: Midnight. HEX triplet: 1A, 2F and 48. RGB value is (26,47,72). Sum of RGB (Red+Green+Blue) = 26+47+72=145 (19% of max value = 765). Red value is 26 (10.55% from 255 or 17.93% from 145); Green value is 47 (18.75% from 255 or 32.41% from 145); Blue value is 72 (28.52% from 255 or 49.66% from 145); Max value from RGB is 72 - color contains mainly: blue. Hex color #1A2F48 is not a web safe color. Web safe color analog (approx): #333333. Inversed color of #1A2F48 is #E5D0B7. Grayscale: #2B2B2B. Windows color (decimal): -15061176 or 4730650. OLE color: 4730650.
HSL color Cylindrical-coordinate representation of color #1A2F48: hue angle of 212.61º degrees, saturation: 0.47, lightness: 0.19%. HSV value (or HSB Brightness) of color is 0.28% and HSV saturation: 0.64%. Process color model (Four color, CMYK) of #1A2F48 is Cyan = 0.64, Magento = 0.35, Yellow = 0 and Black (K on CMYK) = 0.72.
Color convert
| RGB | 26 | 47 | 72 | - |
| CMYK | 0.64 | 0.35 | 0 | 0.72 |
| HSL | 212.61º | 0.47% | 0.19% | - |
| HSV(B) | 212.61º | 0.64% | 0.28% | - |
| XYZ | 2.61 | 2.72 | 6.52 | - |
| YUV | 43.57 | 144.04 | 115.47 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 26 | 47 | 72 | 0.64 | 0.35 | 0 | 0.72 | 212.61 | 0.47 | 0.19 |
| Hex | 1A | 2F | 48 | 40 | 23 | 0 | 48 | D5 | 2F | 13 |
| Octal | 32 | 57 | 110 | 100 | 43 | 0 | 110 | 325 | 57 | 23 |
| Binary | 11010 | 101111 | 1001000 | 1000000 | 100011 | 0 | 1001000 | 11010101 | 101111 | 10011 |
Color Harmonies of #1A2F48
Complementary color
Monochromatic Colors of #1A2F48
Black with #1A2F48
Text Example
Text Example
White with #1A2F48
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1A2F48; }
p { color: rgb(26,47,72); }
H1.HeaderClassName
{
color: #1A2F48;
}
.AnyTagClassName
{
color: #1A2F48;
}
</style>
background-color css
<style>
a { background-color: #1A2F48; }
a { background-color: rgb(26,47,72); }
div.DivClassName
{
background-color: #1A2F48;
}
.BgClassName
{
background-color: #1A2F48;
}
</style>
border-color css
<style>
span { border-color: #1A2F48; }
span { border-color: rgb(26,47,72); }
td.TdClassName
{
border-color: #1A2F48;
}
.TagClassName
{
border-color: #1A2F48;
}
</style>