Html Css Color HEX #1F157A Midnight Blue

📋 copy color: '#1F157A'

red 31 ◦ green 21 ◦ blue 122

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

Shades of Midnight Blue #1F157A

Tints of Midnight Blue #1F157A

RGB

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

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

 BLUE value IS 122 (48.05% from 255) = 70.11%

R = 17.82%
G = 12.07%
B = 70.11%

CMYK

 C value IS 0.75

 M value IS 0.83

 Y value IS 0

 K value IS 0.52

RGB Variations

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

Color information

#1F157A (or 0x1F157A) is known color: Midnight Blue. HEX triplet: 1F, 15 and 7A. RGB value is (31,21,122). Sum of RGB (Red+Green+Blue) = 31+21+122=174 (23% of max value = 765). Red value is 31 (12.5% from 255 or 17.82% from 174); Green value is 21 (8.59% from 255 or 12.07% from 174); Blue value is 122 (48.05% from 255 or 70.11% from 174); Max value from RGB is 122 - color contains mainly: blue. Hex color #1F157A is not a web safe color. Web safe color analog (approx): #330066. Inversed color of #1F157A is #E0EA85. Grayscale: #232323. Windows color (decimal): -14740102 or 8000799. OLE color: 8000799.

HSL color Cylindrical-coordinate representation of color #1F157A: hue angle of 245.94º degrees, saturation: 0.71, lightness: 0.28%. HSV value (or HSB Brightness) of color is 0.48% and HSV saturation: 0.83%. Process color model (Four color, CMYK) of #1F157A is Cyan = 0.75, Magento = 0.83, Yellow = 0 and Black (K on CMYK) = 0.52.

Color convert

RGB 31 21 122 -
CMYK 0.75 0.83 0 0.52
HSL 245.94º 0.71% 0.28% -
HSV(B) 245.94º 0.83% 0.48% -
XYZ 4.35 2.23 18.61 -
YUV 35.5 176.81 124.79 -
System Red Green Blue C M Y K H S L
Decimal 31 21 122 0.75 0.83 0 0.52 245.94 0.71 0.28
Hex 1F 15 7A 4B 53 0 34 F6 47 1C
Octal 37 25 172 113 123 0 64 366 107 34
Binary 11111 10101 1111010 1001011 1010011 0 110100 11110110 1000111 11100

Color Harmonies of #1F157A

Triadic Colors

Analogous colors

Split complements colors

Complementary color

Monochromatic Colors of #1F157A

Black with #1F157A

Text Example


Text Example

White with #1F157A

Text Example


Text Example

HTML Codes & Css Web design

color css

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

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

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

background-color css

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

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

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

border-color css

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

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

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