Html Css Color HEX #0C1C7E Midnight Blue

📋 copy color: '#0C1C7E'

red 12 ◦ green 28 ◦ blue 126

#0C1C7E
Download Color Icon.PNG:
16x16 32x32 64x64 128x128 256x256

Shades of Midnight Blue #0C1C7E

Tints of Midnight Blue #0C1C7E

RGB

 RED value IS 12 (5.08% from 255) = 7.23%

 GREEN value IS 28 (11.33% from 255) = 16.87%

 BLUE value IS 126 (49.61% from 255) = 75.9%

R = 7.23%
G = 16.87%
B = 75.9%

CMYK

 C value IS 0.90

 M value IS 0.78

 Y value IS 0

 K value IS 0.51

RGB Variations

RGB:
RBG:
GRB:
GBR:
BRG:
BGR:

Color information

#0C1C7E (or 0x0C1C7E) is known color: Midnight Blue. HEX triplet: 0C, 1C and 7E. RGB value is (12,28,126). Sum of RGB (Red+Green+Blue) = 12+28+126=166 (21% of max value = 765). Red value is 12 (5.08% from 255 or 7.23% from 166); Green value is 28 (11.33% from 255 or 16.87% from 166); Blue value is 126 (49.61% from 255 or 75.90% from 166); Max value from RGB is 126 - color contains mainly: blue. Hex color #0C1C7E is not a web safe color. Web safe color analog (approx): #003366. Inversed color of #0C1C7E is #F3E381. Grayscale: #212121. Windows color (decimal): -15983490 or 8264716. OLE color: 8264716.

HSL color Cylindrical-coordinate representation of color #0C1C7E: hue angle of 231.58º degrees, saturation: 0.83, lightness: 0.27%. HSV value (or HSB Brightness) of color is 0.49% and HSV saturation: 0.9%. Process color model (Four color, CMYK) of #0C1C7E is Cyan = 0.90, Magento = 0.78, Yellow = 0 and Black (K on CMYK) = 0.51.

Color convert

RGB 12 28 126 -
CMYK 0.90 0.78 0 0.51
HSL 231.58º 0.83% 0.27% -
HSV(B) 231.58º 0.9% 0.49% -
XYZ 4.33 2.42 19.98 -
YUV 34.39 179.7 112.03 -
System Red Green Blue C M Y K H S L
Decimal 12 28 126 0.90 0.78 0 0.51 231.58 0.83 0.27
Hex C 1C 7E 5A 4E 0 33 E8 53 1B
Octal 14 34 176 132 116 0 63 350 123 33
Binary 1100 11100 1111110 1011010 1001110 0 110011 11101000 1010011 11011

Color Harmonies of #0C1C7E

Triadic Colors

Analogous colors

Split complements colors

Complementary color

Monochromatic Colors of #0C1C7E

Black with #0C1C7E

Text Example


Text Example

White with #0C1C7E

Text Example


Text Example

HTML Codes & Css Web design

color css

<style>
 p { color: #0C1C7E; }

 p { color: rgb(12,28,126); }

 H1.HeaderClassName
 {
   color: #0C1C7E;
 }
 .AnyTagClassName
 {
   color: #0C1C7E;
 }
</style>

background-color css

<style>
 a { background-color: #0C1C7E; }

 a { background-color: rgb(12,28,126); }

 div.DivClassName
 {
   background-color: #0C1C7E;
 }
 .BgClassName
 {
   background-color: #0C1C7E;
 }
</style>

border-color css

<style>
 span { border-color: #0C1C7E; }

 span { border-color: rgb(12,28,126); }

 td.TdClassName
 {
   border-color: #0C1C7E;
 }
 .TagClassName
 {
   border-color: #0C1C7E;
 }
</style>