Html Css Color HEX #0C1F7F Midnight Blue

📋 copy color: '#0C1F7F'

red 12 ◦ green 31 ◦ blue 127

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

Shades of Midnight Blue #0C1F7F

Tints of Midnight Blue #0C1F7F

RGB

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

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

 BLUE value IS 127 (50% from 255) = 74.71%

R = 7.06%
G = 18.24%
B = 74.71%

CMYK

 C value IS 0.91

 M value IS 0.76

 Y value IS 0

 K value IS 0.50

RGB Variations

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

Color information

#0C1F7F (or 0x0C1F7F) is known color: Midnight Blue. HEX triplet: 0C, 1F and 7F. RGB value is (12,31,127). Sum of RGB (Red+Green+Blue) = 12+31+127=170 (22% of max value = 765). Red value is 12 (5.08% from 255 or 7.06% from 170); Green value is 31 (12.5% from 255 or 18.24% from 170); Blue value is 127 (50% from 255 or 74.71% from 170); Max value from RGB is 127 - color contains mainly: blue. Hex color #0C1F7F is not a web safe color. Web safe color analog (approx): #003366. Inversed color of #0C1F7F is #F3E080. Grayscale: #232323. Windows color (decimal): -15982721 or 8331020. OLE color: 8331020.

HSL color Cylindrical-coordinate representation of color #0C1F7F: hue angle of 230.09º degrees, saturation: 0.83, lightness: 0.27%. HSV value (or HSB Brightness) of color is 0.5% and HSV saturation: 0.91%. Process color model (Four color, CMYK) of #0C1F7F is Cyan = 0.91, Magento = 0.76, Yellow = 0 and Black (K on CMYK) = 0.50.

Color convert

RGB 12 31 127 -
CMYK 0.91 0.76 0 0.50
HSL 230.09º 0.83% 0.27% -
HSV(B) 230.09º 0.91% 0.5% -
XYZ 4.47 2.59 20.34 -
YUV 36.26 179.21 110.69 -
System Red Green Blue C M Y K H S L
Decimal 12 31 127 0.91 0.76 0 0.50 230.09 0.83 0.27
Hex C 1F 7F 5B 4C 0 32 E6 53 1B
Octal 14 37 177 133 114 0 62 346 123 33
Binary 1100 11111 1111111 1011011 1001100 0 110010 11100110 1010011 11011

Color Harmonies of #0C1F7F

Triadic Colors

Analogous colors

Split complements colors

Complementary color

Monochromatic Colors of #0C1F7F

Black with #0C1F7F

Text Example


Text Example

White with #0C1F7F

Text Example


Text Example

HTML Codes & Css Web design

color css

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

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

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

background-color css

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

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

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

border-color css

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

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

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