Shades of Midnight Blue #0C0254
Tints of Midnight Blue #0C0254
RGB
CMYK
RGB Variations
Color information
#0C0254 (or 0x0C0254) is known color: Midnight Blue. HEX triplet: 0C, 02 and 54. RGB value is (12,2,84). Sum of RGB (Red+Green+Blue) = 12+2+84=98 (12% of max value = 765). Red value is 12 (5.08% from 255 or 12.24% from 98); Green value is 2 (1.17% from 255 or 2.04% from 98); Blue value is 84 (33.20% from 255 or 85.71% from 98); Max value from RGB is 84 - color contains mainly: blue. Hex color #0C0254 is not a web safe color. Web safe color analog (approx): #000066. Inversed color of #0C0254 is #F3FDAB. Grayscale: #0E0E0E. Windows color (decimal): -15990188 or 5505548. OLE color: 5505548.
HSL color Cylindrical-coordinate representation of color #0C0254: hue angle of 247.32º degrees, saturation: 0.95, lightness: 0.17%. HSV value (or HSB Brightness) of color is 0.33% and HSV saturation: 0.98%. Process color model (Four color, CMYK) of #0C0254 is Cyan = 0.86, Magento = 0.98, Yellow = 0 and Black (K on CMYK) = 0.67.
Color convert
| RGB | 12 | 2 | 84 | - |
| CMYK | 0.86 | 0.98 | 0 | 0.67 |
| HSL | 247.32º | 0.95% | 0.17% | - |
| HSV(B) | 247.32º | 0.98% | 0.33% | - |
| XYZ | 1.77 | 0.76 | 8.44 | - |
| YUV | 14.34 | 167.31 | 126.33 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 12 | 2 | 84 | 0.86 | 0.98 | 0 | 0.67 | 247.32 | 0.95 | 0.17 |
| Hex | C | 2 | 54 | 56 | 62 | 0 | 43 | F7 | 5F | 11 |
| Octal | 14 | 2 | 124 | 126 | 142 | 0 | 103 | 367 | 137 | 21 |
| Binary | 1100 | 10 | 1010100 | 1010110 | 1100010 | 0 | 1000011 | 11110111 | 1011111 | 10001 |
Color Harmonies of #0C0254
Complementary color
Monochromatic Colors of #0C0254
Black with #0C0254
Text Example
Text Example
White with #0C0254
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #0C0254; }
p { color: rgb(12,2,84); }
H1.HeaderClassName
{
color: #0C0254;
}
.AnyTagClassName
{
color: #0C0254;
}
</style>
background-color css
<style>
a { background-color: #0C0254; }
a { background-color: rgb(12,2,84); }
div.DivClassName
{
background-color: #0C0254;
}
.BgClassName
{
background-color: #0C0254;
}
</style>
border-color css
<style>
span { border-color: #0C0254; }
span { border-color: rgb(12,2,84); }
td.TdClassName
{
border-color: #0C0254;
}
.TagClassName
{
border-color: #0C0254;
}
</style>