Html Css Color HEX #0C157C Midnight Blue

📋 copy color: '#0C157C'

red 12 ◦ green 21 ◦ blue 124

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

Shades of Midnight Blue #0C157C

Tints of Midnight Blue #0C157C

RGB

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

 GREEN value IS 21 (8.59% from 255) = 13.38%

 BLUE value IS 124 (48.83% from 255) = 78.98%

R = 7.64%
G = 13.38%
B = 78.98%

CMYK

 C value IS 0.90

 M value IS 0.83

 Y value IS 0

 K value IS 0.51

RGB Variations

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

Color information

#0C157C (or 0x0C157C) is known color: Midnight Blue. HEX triplet: 0C, 15 and 7C. RGB value is (12,21,124). Sum of RGB (Red+Green+Blue) = 12+21+124=157 (20% of max value = 765). Red value is 12 (5.08% from 255 or 7.64% from 157); Green value is 21 (8.59% from 255 or 13.38% from 157); Blue value is 124 (48.83% from 255 or 78.98% from 157); Max value from RGB is 124 - color contains mainly: blue. Hex color #0C157C is not a web safe color. Web safe color analog (approx): #000066. Inversed color of #0C157C is #F3EA83. Grayscale: #1D1D1D. Windows color (decimal): -15985284 or 8131852. OLE color: 8131852.

HSL color Cylindrical-coordinate representation of color #0C157C: hue angle of 235.18º degrees, saturation: 0.82, 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 #0C157C is Cyan = 0.90, Magento = 0.83, Yellow = 0 and Black (K on CMYK) = 0.51.

Color convert

RGB 12 21 124 -
CMYK 0.90 0.83 0 0.51
HSL 235.18º 0.82% 0.27% -
HSV(B) 235.18º 0.9% 0.49% -
XYZ 4.06 2.07 19.25 -
YUV 30.05 181.02 115.12 -
System Red Green Blue C M Y K H S L
Decimal 12 21 124 0.90 0.83 0 0.51 235.18 0.82 0.27
Hex C 15 7C 5A 53 0 33 EB 52 1B
Octal 14 25 174 132 123 0 63 353 122 33
Binary 1100 10101 1111100 1011010 1010011 0 110011 11101011 1010010 11011

Color Harmonies of #0C157C

Triadic Colors

Analogous colors

Split complements colors

Complementary color

Monochromatic Colors of #0C157C

Black with #0C157C

Text Example


Text Example

White with #0C157C

Text Example


Text Example

HTML Codes & Css Web design

color css

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

 p { color: rgb(12,21,124); }

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

background-color css

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

 a { background-color: rgb(12,21,124); }

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

border-color css

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

 span { border-color: rgb(12,21,124); }

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