Html Css Color HEX #1F1578 Midnight Blue

📋 copy color: '#1F1578'

red 31 ◦ green 21 ◦ blue 120

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

Shades of Midnight Blue #1F1578

Tints of Midnight Blue #1F1578

RGB

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

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

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

R = 18.02%
G = 12.21%
B = 69.77%

CMYK

 C value IS 0.74

 M value IS 0.83

 Y value IS 0

 K value IS 0.53

RGB Variations

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

Color information

#1F1578 (or 0x1F1578) is known color: Midnight Blue. HEX triplet: 1F, 15 and 78. RGB value is (31,21,120). Sum of RGB (Red+Green+Blue) = 31+21+120=172 (22% of max value = 765). Red value is 31 (12.5% from 255 or 18.02% from 172); Green value is 21 (8.59% from 255 or 12.21% from 172); Blue value is 120 (47.27% from 255 or 69.77% from 172); Max value from RGB is 120 - color contains mainly: blue. Hex color #1F1578 is not a web safe color. Web safe color analog (approx): #330066. Inversed color of #1F1578 is #E0EA87. Grayscale: #222222. Windows color (decimal): -14740104 or 7869727. OLE color: 7869727.

HSL color Cylindrical-coordinate representation of color #1F1578: hue angle of 246.06º degrees, saturation: 0.7, lightness: 0.28%. HSV value (or HSB Brightness) of color is 0.47% and HSV saturation: 0.82%. Process color model (Four color, CMYK) of #1F1578 is Cyan = 0.74, Magento = 0.83, Yellow = 0 and Black (K on CMYK) = 0.53.

Color convert

RGB 31 21 120 -
CMYK 0.74 0.83 0 0.53
HSL 246.06º 0.7% 0.28% -
HSV(B) 246.06º 0.83% 0.47% -
XYZ 4.22 2.18 17.97 -
YUV 35.28 175.81 124.95 -
System Red Green Blue C M Y K H S L
Decimal 31 21 120 0.74 0.83 0 0.53 246.06 0.7 0.28
Hex 1F 15 78 4A 53 0 35 F6 46 1C
Octal 37 25 170 112 123 0 65 366 106 34
Binary 11111 10101 1111000 1001010 1010011 0 110101 11110110 1000110 11100

Color Harmonies of #1F1578

Triadic Colors

Analogous colors

Split complements colors

Complementary color

Monochromatic Colors of #1F1578

Black with #1F1578

Text Example


Text Example

White with #1F1578

Text Example


Text Example

HTML Codes & Css Web design

color css

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

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

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

background-color css

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

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

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

border-color css

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

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

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