Html Css Color HEX #1F0F7E Midnight Blue

📋 copy color: '#1F0F7E'

red 31 ◦ green 15 ◦ blue 126

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

Shades of Midnight Blue #1F0F7E

Tints of Midnight Blue #1F0F7E

RGB

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

 GREEN value IS 15 (6.25% from 255) = 8.72%

 BLUE value IS 126 (49.61% from 255) = 73.26%

R = 18.02%
G = 8.72%
B = 73.26%

CMYK

 C value IS 0.75

 M value IS 0.88

 Y value IS 0

 K value IS 0.51

RGB Variations

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

Color information

#1F0F7E (or 0x1F0F7E) is known color: Midnight Blue. HEX triplet: 1F, 0F and 7E. RGB value is (31,15,126). Sum of RGB (Red+Green+Blue) = 31+15+126=172 (22% of max value = 765). Red value is 31 (12.5% from 255 or 18.02% from 172); Green value is 15 (6.25% from 255 or 8.72% from 172); Blue value is 126 (49.61% from 255 or 73.26% from 172); Max value from RGB is 126 - color contains mainly: blue. Hex color #1F0F7E is not a web safe color. Web safe color analog (approx): #330066. Inversed color of #1F0F7E is #E0F081. Grayscale: #202020. Windows color (decimal): -14741634 or 8261407. OLE color: 8261407.

HSL color Cylindrical-coordinate representation of color #1F0F7E: hue angle of 248.65º degrees, saturation: 0.79, lightness: 0.28%. HSV value (or HSB Brightness) of color is 0.49% and HSV saturation: 0.88%. Process color model (Four color, CMYK) of #1F0F7E is Cyan = 0.75, Magento = 0.88, Yellow = 0 and Black (K on CMYK) = 0.51.

Color convert

RGB 31 15 126 -
CMYK 0.75 0.88 0 0.51
HSL 248.65º 0.79% 0.28% -
HSV(B) 248.65º 0.88% 0.49% -
XYZ 4.5 2.14 19.91 -
YUV 32.44 180.8 126.97 -
System Red Green Blue C M Y K H S L
Decimal 31 15 126 0.75 0.88 0 0.51 248.65 0.79 0.28
Hex 1F F 7E 4B 58 0 33 F9 4F 1C
Octal 37 17 176 113 130 0 63 371 117 34
Binary 11111 1111 1111110 1001011 1011000 0 110011 11111001 1001111 11100

Color Harmonies of #1F0F7E

Triadic Colors

Analogous colors

Split complements colors

Complementary color

Monochromatic Colors of #1F0F7E

Black with #1F0F7E

Text Example


Text Example

White with #1F0F7E

Text Example


Text Example

HTML Codes & Css Web design

color css

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

 p { color: rgb(31,15,126); }

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

background-color css

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

 a { background-color: rgb(31,15,126); }

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

border-color css

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

 span { border-color: rgb(31,15,126); }

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