Hex #1f0040 Color

#1f0040
equivalent to

RGB

(31, 0, 64)

Details of #1f0040

RGB
XYZ
HSL
CMYK
CIE-Lab
Yxy
HSV
Hunter Lab
31
1.4905
0.75
0.52
5.9750
0.6615
269°
8.1331
0
0.6615
1.00
1.00
30.4308
0.2114
100°
18.4794
64
4.8996
0.13
0.00   0.75
-33.2493
0.0938
25°
-30.0117

Color HEX #1f0040 matches (31, 0, 64) in RGB.

#1f0040 hex color red value is 31, green value is 0 and the blue value of its RGB is 64. Cylindrical-coordinate representations (also known as HSL) of color #1f0040 hue: 0.75, saturation: 1.00 and the lightness value of 1f0040 is 0.13.

The process color (four color CMYK) of #1f0040 color hex is 0.52, 1.00, 0.00, 0.75. Web safe color of #1f0040 is #330033. Color #1f0040 contains mainly BLUE color.

Base Numbers

Base
Binary
Octal
Decimal
Hex
Red
11111
37
31
1F
Green
0
0
0
0
Blue
1000000
100
64
40

RGB in % of #1f0040

%32.63
%0.00
%67.37

CMYK in % of #1f0040

%52
%100
%0
%75

Triads of color #1f0040

#1f0040 #00401f #401f40

Similar Colors to #1f0040

#1f0040 #000140 #3f0040

Preview Color #1f0040 on black ground

Very nice color.

Preview Color #1f0040 on white ground

Very nice color.

CSS Codes #1f0040 color

.mybgcolor {background-color:#1f0040; }
.myforecolor {color:#1f0040; }
.mybordercolor {border:3px solid #1f0040; }

Text Font Color #1f0040

<p style="color:#1f0040">Text here</p>

This sample text font color is #1f0040
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.


Background Color #1f0040

<div style="background-color:#1f0040">
Div content here</div>

This div background color is #1f0040


Border Color #1f0040

<div style="border:3px solid #1f0040">
Div here</div>

The color of this border is #1f0040


Examples Css3

.textShadowRgb {text-shadow: 4px 4px 2px rgba(0,0,0, 0.8); } 
.textShadowHex { 
text-shadow: 4px 4px 2px #1f0040; }
.divShadow { 
-moz-box-shadow: 1px 1px 3px 2px #1f0040;
-webkit-box-shadow: 1px 1px 3px 2px #1f0040;
box-shadow:         1px 1px 3px 2px #1f0040; }
				

Text Shadow using RGB

<p style="text-shadow: 4px 4px 2px rgba(0,0,0, 0.8);">Text here</p>
				

The shadow of this text using RGB.


Text Shadow using Hex

<p style="text-shadow: 4px 4px 2px #1f0040">Text here</p>
				

The shadow of this text using hex.


Div Box Shadow

<div style="-moz-box-shadow: 1px 1px 3px 2px #1f0040;
  -webkit-box-shadow: 1px 1px 3px 2px #1f0040;
  box-shadow:         1px 1px 3px 2px #1f0040;">
Div content here</div>

The shadow of div box using color #1f0040