Html Css Color HEX #1F1878 Midnight Blue

📋 copy color: '#1F1878'

red 31 ◦ green 24 ◦ blue 120

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

Shades of Midnight Blue #1F1878

Tints of Midnight Blue #1F1878

RGB

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

 GREEN value IS 24 (9.77% from 255) = 13.71%

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

R = 17.71%
G = 13.71%
B = 68.57%

CMYK

 C value IS 0.74

 M value IS 0.8

 Y value IS 0

 K value IS 0.53

RGB Variations

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

Color information

#1F1878 (or 0x1F1878) is known color: Midnight Blue. HEX triplet: 1F, 18 and 78. RGB value is (31,24,120). Sum of RGB (Red+Green+Blue) = 31+24+120=175 (23% of max value = 765). Red value is 31 (12.5% from 255 or 17.71% from 175); Green value is 24 (9.77% from 255 or 13.71% from 175); Blue value is 120 (47.27% from 255 or 68.57% from 175); Max value from RGB is 120 - color contains mainly: blue. Hex color #1F1878 is not a web safe color. Web safe color analog (approx): #330066. Inversed color of #1F1878 is #E0E787. Grayscale: #242424. Windows color (decimal): -14739336 or 7870495. OLE color: 7870495.

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

Color convert

RGB 31 24 120 -
CMYK 0.74 0.8 0 0.53
HSL 244.38º 0.67% 0.28% -
HSV(B) 244.38º 0.8% 0.47% -
XYZ 4.28 2.3 17.99 -
YUV 37.04 174.82 123.69 -
System Red Green Blue C M Y K H S L
Decimal 31 24 120 0.74 0.8 0 0.53 244.38 0.67 0.28
Hex 1F 18 78 4A 50 0 35 F4 43 1C
Octal 37 30 170 112 120 0 65 364 103 34
Binary 11111 11000 1111000 1001010 1010000 0 110101 11110100 1000011 11100

Color Harmonies of #1F1878

Triadic Colors

Analogous colors

Split complements colors

Complementary color

Monochromatic Colors of #1F1878

Black with #1F1878

Text Example


Text Example

White with #1F1878

Text Example


Text Example

HTML Codes & Css Web design

color css

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

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

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

background-color css

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

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

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

border-color css

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

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

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