COLOR #51151B

HEX: #51151B
RGB: (81,21,27)

Color info

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

RGB color model

#51151B color RGB value is (81,21,27).

  • red value is 81;
  • green value is 21;
  • blue value is 27.
RGB:
(81,21,27)
(32%,8%,11%)

RGB channels and saturation

R 81 of 255 = 32%
G 21 of 255 = 8%
B 27 of 255 = 11%

81
21
27

R + G + B ~ 17%. #51151B is dark color.

Portions of RGB colors in percentages

R + G + B =
81 + 21 + 27 = 129 (100%)
R 81 of 129 ~ 62.79%
G 21 of 129 ~ 16.28%
B 27 of 129 ~ 20.93%

%62.79
%16.28
%20.93

CMYK color model

#51151B color CMYK value is (0,74,67,68).

  • cyan value is 0.00%
  • magenta value is 74.07%
  • yellow value is 66.67%
  • key color value is 68.24%
CMYK:
(0,74,67,68)
C0M74Y67K68 
(0%,74%,67%,68%)
(0.00/0.74/0.67/0.68)	

CMYK percentages

%0
%74.07
%66.67
%68.24

Codes

Color #51151B in popluar color models

51151B
RGB812127
HSL354°58.82%20.00%
HSB/HSV354°74.07%31.76%
CMYK0.00%74.07%66.67%
68.24%

Color #51151B in popluar number systems.

HEX51151B
Decimal812127
Binary10100011010111011
Octal1212533

Shades and tints

Shades of #51151B

#51151B
(81,21,27)
#4A1419
(74,20,25)
#431317
(67,19,23)
#3C1215
(60,18,21)
#351113
(53,17,19)
#2E1011
(46,16,17)
#270F0F
(39,15,15)
#200E0D
(32,14,13)
#190D0B
(25,13,11)
#120C09
(18,12,9)
#0B0B07
(11,11,7)
#000000
(0,0,0)

Tints of #51151B

#51151B
(81,21,27)
#602A2F
(96,42,47)
#6F3F43
(111,63,67)
#7E5457
(126,84,87)
#8D696B
(141,105,107)
#9C7E7F
(156,126,127)
#AB9393
(171,147,147)
#BAA8A7
(186,168,167)
#C9BDBB
(201,189,187)
#D8D2CF
(216,210,207)
#E7E7E3
(231,231,227)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #51151B color. Also use rgb(81,21,27) instead hex code.

Text Font Color

.myTextColor { color: #51151B; }

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

This text font color is #51151B.


Background Color

.myBgColor { background-color: #51151B; }

<div style="background-color:#51151B">Inner text</div>

This div background color is #51151B.


Border color

.myBorderColor { border: 1px solid #51151B; }

<div style="border:3px solid #51151B">Div</div>

This div border color is #51151B.


Opacity

.myOpacity80 { color: #51151B; opacity: 0.8; }

<p style="color:#51151B;opacity:0.8;">80%</p>

Text with #51151B 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 #51151B;}

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

This text has shadow with #51151B color.

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

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

This text has shadow with #51151B primary color and red secondary color.


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

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

This text has shadow with #51151B and red colors in old Internet Explorer.


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #51151B on black background.


Color preview on white background

This text has color #51151B on white background.



Black color preview on #51151B background

This text has black color on #51151B background.


White color preview on #51151B background

This text has white color on #51151B background.