Html Css Color HEX #1F1178 Midnight Blue

📋 copy color: '#1F1178'

red 31 ◦ green 17 ◦ blue 120

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

Shades of Midnight Blue #1F1178

Tints of Midnight Blue #1F1178

RGB

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

 GREEN value IS 17 (7.03% from 255) = 10.12%

 BLUE value IS 120 (47.27% from 255) = 71.43%

R = 18.45%
G = 10.12%
B = 71.43%

CMYK

 C value IS 0.74

 M value IS 0.86

 Y value IS 0

 K value IS 0.53

RGB Variations

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

Color information

#1F1178 (or 0x1F1178) is known color: Midnight Blue. HEX triplet: 1F, 11 and 78. RGB value is (31,17,120). Sum of RGB (Red+Green+Blue) = 31+17+120=168 (22% of max value = 765). Red value is 31 (12.5% from 255 or 18.45% from 168); Green value is 17 (7.03% from 255 or 10.12% from 168); Blue value is 120 (47.27% from 255 or 71.43% from 168); Max value from RGB is 120 - color contains mainly: blue. Hex color #1F1178 is not a web safe color. Web safe color analog (approx): #330066. Inversed color of #1F1178 is #E0EE87. Grayscale: #202020. Windows color (decimal): -14741128 or 7868703. OLE color: 7868703.

HSL color Cylindrical-coordinate representation of color #1F1178: hue angle of 248.16º degrees, saturation: 0.75, lightness: 0.27%. HSV value (or HSB Brightness) of color is 0.47% and HSV saturation: 0.86%. Process color model (Four color, CMYK) of #1F1178 is Cyan = 0.74, Magento = 0.86, Yellow = 0 and Black (K on CMYK) = 0.53.

Color convert

RGB 31 17 120 -
CMYK 0.74 0.86 0 0.53
HSL 248.16º 0.75% 0.27% -
HSV(B) 248.16º 0.86% 0.47% -
XYZ 4.16 2.05 17.95 -
YUV 32.93 177.14 126.62 -
System Red Green Blue C M Y K H S L
Decimal 31 17 120 0.74 0.86 0 0.53 248.16 0.75 0.27
Hex 1F 11 78 4A 56 0 35 F8 4B 1B
Octal 37 21 170 112 126 0 65 370 113 33
Binary 11111 10001 1111000 1001010 1010110 0 110101 11111000 1001011 11011

Color Harmonies of #1F1178

Triadic Colors

Analogous colors

Split complements colors

Complementary color

Monochromatic Colors of #1F1178

Black with #1F1178

Text Example


Text Example

White with #1F1178

Text Example


Text Example

HTML Codes & Css Web design

color css

<style>
 p { color: #1F1178; }

 p { color: rgb(31,17,120); }

 H1.HeaderClassName
 {
   color: #1F1178;
 }
 .AnyTagClassName
 {
   color: #1F1178;
 }
</style>

background-color css

<style>
 a { background-color: #1F1178; }

 a { background-color: rgb(31,17,120); }

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

border-color css

<style>
 span { border-color: #1F1178; }

 span { border-color: rgb(31,17,120); }

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