COLOR #510A1F

HEX: #510A1F
RGB: (81,10,31)

Color info

#510A1F contains mainly red and blue colors. Web safe color of #510A1F is #660033 (or #603).

RGB color model

#510A1F color RGB value is (81,10,31).

  • red value is 81;
  • green value is 10;
  • blue value is 31.
RGB:
(81,10,31)
(32%,4%,12%)

RGB channels and saturation

R 81 of 255 = 32%
G 10 of 255 = 4%
B 31 of 255 = 12%

81
10
31

R + G + B ~ 16%. #510A1F is dark color.

Portions of RGB colors in percentages

R + G + B =
81 + 10 + 31 = 122 (100%)
R 81 of 122 ~ 66.39%
G 10 of 122 ~ 8.2%
B 31 of 122 ~ 25.41%

%66.39
%25.41

CMYK color model

#510A1F color CMYK value is (0,88,62,68).

  • cyan value is 0.00%
  • magenta value is 87.65%
  • yellow value is 61.73%
  • key color value is 68.24%
CMYK:
(0,88,62,68)
C0M88Y62K68 
(0%,88%,62%,68%)
(0.00/0.88/0.62/0.68)	

CMYK percentages

%0
%87.65
%61.73
%68.24

Codes

Color #510A1F in popluar color models

510A1F
RGB811031
HSL342°78.02%17.84%
HSB/HSV342°87.65%31.76%
CMYK0.00%87.65%61.73%
68.24%

Color #510A1F in popluar number systems.

HEX510A1F
Decimal811031
Binary1010001101011111
Octal1211237

Shades and tints

Shades of #510A1F

#510A1F
(81,10,31)
#4A0A1D
(74,10,29)
#430A1B
(67,10,27)
#3C0A19
(60,10,25)
#350A17
(53,10,23)
#2E0A15
(46,10,21)
#270A13
(39,10,19)
#200A11
(32,10,17)
#190A0F
(25,10,15)
#120A0D
(18,10,13)
#0B0A0B
(11,10,11)
#000000
(0,0,0)

Tints of #510A1F

#510A1F
(81,10,31)
#602033
(96,32,51)
#6F3647
(111,54,71)
#7E4C5B
(126,76,91)
#8D626F
(141,98,111)
#9C7883
(156,120,131)
#AB8E97
(171,142,151)
#BAA4AB
(186,164,171)
#C9BABF
(201,186,191)
#D8D0D3
(216,208,211)
#E7E6E7
(231,230,231)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #510A1F color. Also use rgb(81,10,31) instead hex code.

Text Font Color

.myTextColor { color: #510A1F; }

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

This text font color is #510A1F.


Background Color

.myBgColor { background-color: #510A1F; }

<div style="background-color:#510A1F">Inner text</div>

This div background color is #510A1F.


Border color

.myBorderColor { border: 1px solid #510A1F; }

<div style="border:3px solid #510A1F">Div</div>

This div border color is #510A1F.


Opacity

.myOpacity80 { color: #510A1F; opacity: 0.8; }

<p style="color:#510A1F;opacity:0.8;">80%</p>

Text with #510A1F 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 #510A1F;}

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

This text has shadow with #510A1F color.

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

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

This text has shadow with #510A1F primary color and red secondary color.


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

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

This text has shadow with #510A1F and red colors in old Internet Explorer.


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #510A1F on black background.


Color preview on white background

This text has color #510A1F on white background.



Black color preview on #510A1F background

This text has black color on #510A1F background.


White color preview on #510A1F background

This text has white color on #510A1F background.