COLOR #510F4B

HEX: #510F4B
RGB: (81,15,75)

Color info

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

RGB color model

#510F4B color RGB value is (81,15,75).

  • red value is 81;
  • green value is 15;
  • blue value is 75.
RGB:
(81,15,75)
(32%,6%,29%)

RGB channels and saturation

R 81 of 255 = 32%
G 15 of 255 = 6%
B 75 of 255 = 29%

81
15
75

R + G + B ~ 22%. #510F4B is dark color.

Portions of RGB colors in percentages

R + G + B =
81 + 15 + 75 = 171 (100%)
R 81 of 171 ~ 47.37%
G 15 of 171 ~ 8.77%
B 75 of 171 ~ 43.86%

%47.37
%43.86

CMYK color model

#510F4B color CMYK value is (0,81,7,68).

  • cyan value is 0.00%
  • magenta value is 81.48%
  • yellow value is 7.41%
  • key color value is 68.24%
CMYK:
(0,81,7,68)
C0M81Y7K68 
(0%,81%,7%,68%)
(0.00/0.81/0.07/0.68)	

CMYK percentages

%0
%81.48
%7.41
%68.24

Codes

Color #510F4B in popluar color models

510F4B
RGB811575
HSL305°68.75%18.82%
HSB/HSV305°81.48%31.76%
CMYK0.00%81.48%7.41%
68.24%

Color #510F4B in popluar number systems.

HEX510F4B
Decimal811575
Binary101000111111001011
Octal12117113

Shades and tints

Shades of #510F4B

#510F4B
(81,15,75)
#4A0E45
(74,14,69)
#430D3F
(67,13,63)
#3C0C39
(60,12,57)
#350B33
(53,11,51)
#2E0A2D
(46,10,45)
#270927
(39,9,39)
#200821
(32,8,33)
#19071B
(25,7,27)
#120615
(18,6,21)
#0B050F
(11,5,15)
#000000
(0,0,0)

Tints of #510F4B

#510F4B
(81,15,75)
#60245B
(96,36,91)
#6F396B
(111,57,107)
#7E4E7B
(126,78,123)
#8D638B
(141,99,139)
#9C789B
(156,120,155)
#AB8DAB
(171,141,171)
#BAA2BB
(186,162,187)
#C9B7CB
(201,183,203)
#D8CCDB
(216,204,219)
#E7E1EB
(231,225,235)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #510F4B color. Also use rgb(81,15,75) instead hex code.

Text Font Color

.myTextColor { color: #510F4B; }

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

This text font color is #510F4B.


Background Color

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

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

This div background color is #510F4B.


Border color

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

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

This div border color is #510F4B.


Opacity

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

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

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

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

This text has shadow with #510F4B color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #510F4B on black background.


Color preview on white background

This text has color #510F4B on white background.



Black color preview on #510F4B background

This text has black color on #510F4B background.


White color preview on #510F4B background

This text has white color on #510F4B background.