Html Css Color HEX #1F156F Midnight Blue

📋 copy color: '#1F156F'

red 31 ◦ green 21 ◦ blue 111

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

Shades of Midnight Blue #1F156F

Tints of Midnight Blue #1F156F

RGB

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

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

 BLUE value IS 111 (43.75% from 255) = 68.1%

R = 19.02%
G = 12.88%
B = 68.1%

CMYK

 C value IS 0.72

 M value IS 0.81

 Y value IS 0

 K value IS 0.56

RGB Variations

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

Color information

#1F156F (or 0x1F156F) is known color: Midnight Blue. HEX triplet: 1F, 15 and 6F. RGB value is (31,21,111). Sum of RGB (Red+Green+Blue) = 31+21+111=163 (21% of max value = 765). Red value is 31 (12.5% from 255 or 19.02% from 163); Green value is 21 (8.59% from 255 or 12.88% from 163); Blue value is 111 (43.75% from 255 or 68.10% from 163); Max value from RGB is 111 - color contains mainly: blue. Hex color #1F156F is not a web safe color. Web safe color analog (approx): #330066. Inversed color of #1F156F is #E0EA90. Grayscale: #212121. Windows color (decimal): -14740113 or 7279903. OLE color: 7279903.

HSL color Cylindrical-coordinate representation of color #1F156F: hue angle of 246.67º degrees, saturation: 0.68, lightness: 0.26%. HSV value (or HSB Brightness) of color is 0.44% and HSV saturation: 0.81%. Process color model (Four color, CMYK) of #1F156F is Cyan = 0.72, Magento = 0.81, Yellow = 0 and Black (K on CMYK) = 0.56.

Color convert

RGB 31 21 111 -
CMYK 0.72 0.81 0 0.56
HSL 246.67º 0.68% 0.26% -
HSV(B) 246.67º 0.81% 0.44% -
XYZ 3.7 1.98 15.23 -
YUV 34.25 171.31 125.68 -
System Red Green Blue C M Y K H S L
Decimal 31 21 111 0.72 0.81 0 0.56 246.67 0.68 0.26
Hex 1F 15 6F 48 51 0 38 F7 44 1A
Octal 37 25 157 110 121 0 70 367 104 32
Binary 11111 10101 1101111 1001000 1010001 0 111000 11110111 1000100 11010

Color Harmonies of #1F156F

Triadic Colors

Analogous colors

Split complements colors

Complementary color

Monochromatic Colors of #1F156F

Black with #1F156F

Text Example


Text Example

White with #1F156F

Text Example


Text Example

HTML Codes & Css Web design

color css

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

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

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

background-color css

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

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

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

border-color css

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

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

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