Html Css Color HEX #1F157F Midnight Blue

📋 copy color: '#1F157F'

red 31 ◦ green 21 ◦ blue 127

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

Shades of Midnight Blue #1F157F

Tints of Midnight Blue #1F157F

RGB

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

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

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

R = 17.32%
G = 11.73%
B = 70.95%

CMYK

 C value IS 0.76

 M value IS 0.83

 Y value IS 0

 K value IS 0.50

RGB Variations

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

Color information

#1F157F (or 0x1F157F) is known color: Midnight Blue. HEX triplet: 1F, 15 and 7F. RGB value is (31,21,127). Sum of RGB (Red+Green+Blue) = 31+21+127=179 (23% of max value = 765). Red value is 31 (12.5% from 255 or 17.32% from 179); Green value is 21 (8.59% from 255 or 11.73% from 179); Blue value is 127 (50% from 255 or 70.95% from 179); Max value from RGB is 127 - color contains mainly: blue. Hex color #1F157F is not a web safe color. Web safe color analog (approx): #330066. Inversed color of #1F157F is #E0EA80. Grayscale: #232323. Windows color (decimal): -14740097 or 8328479. OLE color: 8328479.

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

Color convert

RGB 31 21 127 -
CMYK 0.76 0.83 0 0.50
HSL 245.66º 0.72% 0.29% -
HSV(B) 245.66º 0.83% 0.5% -
XYZ 4.66 2.36 20.29 -
YUV 36.07 179.31 124.38 -
System Red Green Blue C M Y K H S L
Decimal 31 21 127 0.76 0.83 0 0.50 245.66 0.72 0.29
Hex 1F 15 7F 4C 53 0 32 F6 48 1D
Octal 37 25 177 114 123 0 62 366 110 35
Binary 11111 10101 1111111 1001100 1010011 0 110010 11110110 1001000 11101

Color Harmonies of #1F157F

Triadic Colors

Analogous colors

Split complements colors

Complementary color

Monochromatic Colors of #1F157F

Black with #1F157F

Text Example


Text Example

White with #1F157F

Text Example


Text Example

HTML Codes & Css Web design

color css

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

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

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

background-color css

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

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

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

border-color css

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

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

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