COLOR #1F021F

HEX: #1F021F
RGB: (31,2,31)

Color info

#1F021F contains red, green and blue colors in about the same proportion. Web safe color of #1F021F is #330033 (or #303).

RGB color model

#1F021F color RGB value is (31,2,31).

  • red value is 31;
  • green value is 2;
  • blue value is 31.
RGB:
(31,2,31)
(12%,1%,12%)

RGB channels and saturation

R 31 of 255 = 12%
G 2 of 255 = 1%
B 31 of 255 = 12%

31
2
31

R + G + B ~ 8%. #1F021F is dark color.

Portions of RGB colors in percentages

R + G + B =
31 + 2 + 31 = 64 (100%)
R 31 of 64 ~ 48.44%
G 2 of 64 ~ 3.13%
B 31 of 64 ~ 48.44%

%48.44
%48.44

CMYK color model

#1F021F color CMYK value is (0,94,0,88).

  • cyan value is 0.00%
  • magenta value is 93.55%
  • yellow value is 0.00%
  • key color value is 87.84%
CMYK:
(0,94,0,88)
C0M94Y0K88 
(0%,94%,0%,88%)
(0.00/0.94/0.00/0.88)	

CMYK percentages

%0
%93.55
%0
%87.84

Codes

Color #1F021F in popluar color models

1F021F
RGB31231
HSL300°87.88%6.47%
HSB/HSV300°93.55%12.16%
CMYK0.00%93.55%0.00%
87.84%

Color #1F021F in popluar number systems.

HEX1F021F
Decimal31231
Binary111111011111
Octal37237

Shades and tints

Shades of #1F021F

#1F021F
(31,2,31)
#1D021D
(29,2,29)
#1B021B
(27,2,27)
#190219
(25,2,25)
#170217
(23,2,23)
#150215
(21,2,21)
#130213
(19,2,19)
#110211
(17,2,17)
#0F020F
(15,2,15)
#0D020D
(13,2,13)
#0B020B
(11,2,11)
#000000
(0,0,0)

Tints of #1F021F

#1F021F
(31,2,31)
#331933
(51,25,51)
#473047
(71,48,71)
#5B475B
(91,71,91)
#6F5E6F
(111,94,111)
#837583
(131,117,131)
#978C97
(151,140,151)
#ABA3AB
(171,163,171)
#BFBABF
(191,186,191)
#D3D1D3
(211,209,211)
#E7E8E7
(231,232,231)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #1F021F color. Also use rgb(31,2,31) instead hex code.

Text Font Color

.myTextColor { color: #1F021F; }

<p style="color:#1F021F">This sample text font color is #1F021F.</p>

This text font color is #1F021F.


Background Color

.myBgColor { background-color: #1F021F; }

<div style="background-color:#1F021F">Inner text</div>

This div background color is #1F021F.


Border color

.myBorderColor { border: 1px solid #1F021F; }

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

This div border color is #1F021F.


Opacity

.myOpacity80 { color: #1F021F; opacity: 0.8; }

<p style="color:#1F021F;opacity:0.8;">80%</p>

Text with #1F021F color and opacity 100% | 80% | 50% | 30%.

Background with opacity value 100%.

Background with opacity value 80%.

Background with opacity value 50%.

Background with opacity value 30%.

Text shadow color

.textShadow {text-shadow: 3px 3px 1px #1F021F;}

<p style="text-shadow: 3px 3px 1px #1F021F">Text here.</p>

This text has shadow with #1F021F color.

.textShadow {text-shadow: 3px 3px 1px #1F021F, 3px 3px 1px red;}

<p style="text-shadow: 3px 3px 1px #1F021F, 5px 5px 20px red">Text here.</p>

This text has shadow with #1F021F primary color and red secondary color.


Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#1F021F, Direction=45, Strength=4)}

<p style="filter: Shadow(Color=#1F021F, Direction=45, Strength=4)">Text</p>

This text has shadow with #1F021F and red colors in old Internet Explorer.


Div box shadow color

/* css code */
.divShadow
{
  -moz-box-shadow:	1px 1px 3px 2px #1F021F;
  -webkit-box-shadow:	1px 1px 3px 2px #1F021F;
  box-shadow:		1px 1px 3px 2px #1F021F;
}

/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #1F021F;
-webkit-box-shadow: 1px 1px 3px 2px #1F021F;
box-shadow:1px 1px 3px 2px #1F021F;">
Div content here</div>
This div box has shadow with color #1F021F.

Preview

Color preview on black background

This text has color #1F021F on black background.


Color preview on white background

This text has color #1F021F on white background.



Black color preview on #1F021F background

This text has black color on #1F021F background.


White color preview on #1F021F background

This text has white color on #1F021F background.