COLOR #542B51

HEX: #542B51
RGB: (84,43,81)

Color info

#542B51 contains red, green and blue colors in about the same proportion. Web safe color of #542B51 is #663366 (or #636).

RGB color model

#542B51 color RGB value is (84,43,81).

  • red value is 84;
  • green value is 43;
  • blue value is 81.
RGB:
(84,43,81)
(33%,17%,32%)

RGB channels and saturation

R 84 of 255 = 33%
G 43 of 255 = 17%
B 81 of 255 = 32%

84
43
81

R + G + B ~ 27%. #542B51 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
84 + 43 + 81 = 208 (100%)
R 84 of 208 ~ 40.38%
G 43 of 208 ~ 20.67%
B 81 of 208 ~ 38.94%

%40.38
%20.67
%38.94

CMYK color model

#542B51 color CMYK value is (0,49,4,67).

  • cyan value is 0.00%
  • magenta value is 48.81%
  • yellow value is 3.57%
  • key color value is 67.06%
CMYK:
(0,49,4,67)
C0M49Y4K67 
(0%,49%,4%,67%)
(0.00/0.49/0.04/0.67)	

CMYK percentages

%0
%48.81
%3.57
%67.06

Codes

Color #542B51 in popluar color models

542B51
RGB844381
HSL304°32.28%24.90%
HSB/HSV304°48.81%32.94%
CMYK0.00%48.81%3.57%
67.06%

Color #542B51 in popluar number systems.

HEX542B51
Decimal844381
Binary10101001010111010001
Octal12453121

Shades and tints

Shades of #542B51

#542B51
(84,43,81)
#4D284A
(77,40,74)
#462543
(70,37,67)
#3F223C
(63,34,60)
#381F35
(56,31,53)
#311C2E
(49,28,46)
#2A1927
(42,25,39)
#231620
(35,22,32)
#1C1319
(28,19,25)
#151012
(21,16,18)
#0E0D0B
(14,13,11)
#000000
(0,0,0)

Tints of #542B51

#542B51
(84,43,81)
#633E60
(99,62,96)
#72516F
(114,81,111)
#81647E
(129,100,126)
#90778D
(144,119,141)
#9F8A9C
(159,138,156)
#AE9DAB
(174,157,171)
#BDB0BA
(189,176,186)
#CCC3C9
(204,195,201)
#DBD6D8
(219,214,216)
#EAE9E7
(234,233,231)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #542B51 color. Also use rgb(84,43,81) instead hex code.

Text Font Color

.myTextColor { color: #542B51; }

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

This text font color is #542B51.


Background Color

.myBgColor { background-color: #542B51; }

<div style="background-color:#542B51">Inner text</div>

This div background color is #542B51.


Border color

.myBorderColor { border: 1px solid #542B51; }

<div style="border:3px solid #542B51">Div</div>

This div border color is #542B51.


Opacity

.myOpacity80 { color: #542B51; opacity: 0.8; }

<p style="color:#542B51;opacity:0.8;">80%</p>

Text with #542B51 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 #542B51;}

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

This text has shadow with #542B51 color.

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

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

This text has shadow with #542B51 primary color and red secondary color.


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

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

This text has shadow with #542B51 and red colors in old Internet Explorer.


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #542B51 on black background.


Color preview on white background

This text has color #542B51 on white background.



Black color preview on #542B51 background

This text has black color on #542B51 background.


White color preview on #542B51 background

This text has white color on #542B51 background.