COLOR #1F0512

HEX: #1F0512
RGB: (31,5,18)

Color info

#1F0512 contains red, green and blue colors in about the same proportion. Web safe color of #1F0512 is #330000 (or #300).

RGB color model

#1F0512 color RGB value is (31,5,18).

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

RGB channels and saturation

R 31 of 255 = 12%
G 5 of 255 = 2%
B 18 of 255 = 7%

31
5
18

R + G + B ~ 7%. #1F0512 is dark color.

Portions of RGB colors in percentages

R + G + B =
31 + 5 + 18 = 54 (100%)
R 31 of 54 ~ 57.41%
G 5 of 54 ~ 9.26%
B 18 of 54 ~ 33.33%

%57.41
%33.33

CMYK color model

#1F0512 color CMYK value is (0,84,42,88).

  • cyan value is 0.00%
  • magenta value is 83.87%
  • yellow value is 41.94%
  • key color value is 87.84%
CMYK:
(0,84,42,88)
C0M84Y42K88 
(0%,84%,42%,88%)
(0.00/0.84/0.42/0.88)	

CMYK percentages

%0
%83.87
%41.94
%87.84

Codes

Color #1F0512 in popluar color models

1F0512
RGB31518
HSL330°72.22%7.06%
HSB/HSV330°83.87%12.16%
CMYK0.00%83.87%41.94%
87.84%

Color #1F0512 in popluar number systems.

HEX1F0512
Decimal31518
Binary1111110110010
Octal37522

Shades and tints

Shades of #1F0512

#1F0512
(31,5,18)
#1D0511
(29,5,17)
#1B0510
(27,5,16)
#19050F
(25,5,15)
#17050E
(23,5,14)
#15050D
(21,5,13)
#13050C
(19,5,12)
#11050B
(17,5,11)
#0F050A
(15,5,10)
#0D0509
(13,5,9)
#0B0508
(11,5,8)
#000000
(0,0,0)

Tints of #1F0512

#1F0512
(31,5,18)
#331B27
(51,27,39)
#47313C
(71,49,60)
#5B4751
(91,71,81)
#6F5D66
(111,93,102)
#83737B
(131,115,123)
#978990
(151,137,144)
#AB9FA5
(171,159,165)
#BFB5BA
(191,181,186)
#D3CBCF
(211,203,207)
#E7E1E4
(231,225,228)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #1F0512; }

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

This text font color is #1F0512.


Background Color

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

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

This div background color is #1F0512.


Border color

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

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

This div border color is #1F0512.


Opacity

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

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

Text with #1F0512 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 #1F0512;}

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

This text has shadow with #1F0512 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #1F0512 on black background.


Color preview on white background

This text has color #1F0512 on white background.



Black color preview on #1F0512 background

This text has black color on #1F0512 background.


White color preview on #1F0512 background

This text has white color on #1F0512 background.