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

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

#1f0040 is very interesting for text.

Preview Color #1f0040 on white ground

#1f0040 is very interesting for text.

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.


Shadow of Div

<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