Html Css Color HEX #0C1F7D Midnight Blue

📋 copy color: '#0C1F7D'

red 12 ◦ green 31 ◦ blue 125

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

Shades of Midnight Blue #0C1F7D

Tints of Midnight Blue #0C1F7D

RGB

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

 GREEN value IS 31 (12.5% from 255) = 18.45%

 BLUE value IS 125 (49.22% from 255) = 74.4%

R = 7.14%
G = 18.45%
B = 74.4%

CMYK

 C value IS 0.90

 M value IS 0.75

 Y value IS 0

 K value IS 0.51

RGB Variations

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

Color information

#0C1F7D (or 0x0C1F7D) is known color: Midnight Blue. HEX triplet: 0C, 1F and 7D. RGB value is (12,31,125). Sum of RGB (Red+Green+Blue) = 12+31+125=168 (22% of max value = 765). Red value is 12 (5.08% from 255 or 7.14% from 168); Green value is 31 (12.5% from 255 or 18.45% from 168); Blue value is 125 (49.22% from 255 or 74.40% from 168); Max value from RGB is 125 - color contains mainly: blue. Hex color #0C1F7D is not a web safe color. Web safe color analog (approx): #003366. Inversed color of #0C1F7D is #F3E082. Grayscale: #232323. Windows color (decimal): -15982723 or 8199948. OLE color: 8199948.

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

Color convert

RGB 12 31 125 -
CMYK 0.90 0.75 0 0.51
HSL 229.91º 0.82% 0.27% -
HSV(B) 229.91º 0.9% 0.49% -
XYZ 4.34 2.54 19.66 -
YUV 36.04 178.21 110.86 -
System Red Green Blue C M Y K H S L
Decimal 12 31 125 0.90 0.75 0 0.51 229.91 0.82 0.27
Hex C 1F 7D 5A 4B 0 33 E6 52 1B
Octal 14 37 175 132 113 0 63 346 122 33
Binary 1100 11111 1111101 1011010 1001011 0 110011 11100110 1010010 11011

Color Harmonies of #0C1F7D

Triadic Colors

Analogous colors

Split complements colors

Complementary color

Monochromatic Colors of #0C1F7D

Black with #0C1F7D

Text Example


Text Example

White with #0C1F7D

Text Example


Text Example

HTML Codes & Css Web design

color css

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

 p { color: rgb(12,31,125); }

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

background-color css

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

 a { background-color: rgb(12,31,125); }

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

border-color css

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

 span { border-color: rgb(12,31,125); }

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