COLOR #542A59

HEX: #542A59
RGB: (84,42,89)

Color info

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

RGB color model

#542A59 color RGB value is (84,42,89).

  • red value is 84;
  • green value is 42;
  • blue value is 89.
RGB:
(84,42,89)
(33%,16%,35%)

RGB channels and saturation

R 84 of 255 = 33%
G 42 of 255 = 16%
B 89 of 255 = 35%

84
42
89

R + G + B ~ 28%. #542A59 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
84 + 42 + 89 = 215 (100%)
R 84 of 215 ~ 39.07%
G 42 of 215 ~ 19.53%
B 89 of 215 ~ 41.4%

%39.07
%19.53
%41.4

CMYK color model

#542A59 color CMYK value is (6,53,0,65).

  • cyan value is 5.62%
  • magenta value is 52.81%
  • yellow value is 0.00%
  • key color value is 65.10%
CMYK:
(6,53,0,65)
C6M53Y0K65 
(6%,53%,0%,65%)
(0.06/0.53/0.00/0.65)	

CMYK percentages

%5.62
%52.81
%0
%65.1

Codes

Color #542A59 in popluar color models

542A59
RGB844289
HSL294°35.88%25.69%
HSB/HSV294°52.81%34.90%
CMYK5.62%52.81%0.00%
65.10%

Color #542A59 in popluar number systems.

HEX542A59
Decimal844289
Binary10101001010101011001
Octal12452131

Shades and tints

Shades of #542A59

#542A59
(84,42,89)
#4D2751
(77,39,81)
#462449
(70,36,73)
#3F2141
(63,33,65)
#381E39
(56,30,57)
#311B31
(49,27,49)
#2A1829
(42,24,41)
#231521
(35,21,33)
#1C1219
(28,18,25)
#150F11
(21,15,17)
#0E0C09
(14,12,9)
#000000
(0,0,0)

Tints of #542A59

#542A59
(84,42,89)
#633D68
(99,61,104)
#725077
(114,80,119)
#816386
(129,99,134)
#907695
(144,118,149)
#9F89A4
(159,137,164)
#AE9CB3
(174,156,179)
#BDAFC2
(189,175,194)
#CCC2D1
(204,194,209)
#DBD5E0
(219,213,224)
#EAE8EF
(234,232,239)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #542A59 color. Also use rgb(84,42,89) instead hex code.

Text Font Color

.myTextColor { color: #542A59; }

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

This text font color is #542A59.


Background Color

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

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

This div background color is #542A59.


Border color

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

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

This div border color is #542A59.


Opacity

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

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

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

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

This text has shadow with #542A59 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #542A59 on black background.


Color preview on white background

This text has color #542A59 on white background.



Black color preview on #542A59 background

This text has black color on #542A59 background.


White color preview on #542A59 background

This text has white color on #542A59 background.