COLOR #5B2A52

HEX: #5B2A52
RGB: (91,42,82)

Color info

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

RGB color model

#5B2A52 color RGB value is (91,42,82).

  • red value is 91;
  • green value is 42;
  • blue value is 82.
RGB:
(91,42,82)
(36%,16%,32%)

RGB channels and saturation

R 91 of 255 = 36%
G 42 of 255 = 16%
B 82 of 255 = 32%

91
42
82

R + G + B ~ 28%. #5B2A52 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
91 + 42 + 82 = 215 (100%)
R 91 of 215 ~ 42.33%
G 42 of 215 ~ 19.53%
B 82 of 215 ~ 38.14%

%42.33
%19.53
%38.14

CMYK color model

#5B2A52 color CMYK value is (0,54,10,64).

  • cyan value is 0.00%
  • magenta value is 53.85%
  • yellow value is 9.89%
  • key color value is 64.31%
CMYK:
(0,54,10,64)
C0M54Y10K64 
(0%,54%,10%,64%)
(0.00/0.54/0.10/0.64)	

CMYK percentages

%0
%53.85
%9.89
%64.31

Codes

Color #5B2A52 in popluar color models

5B2A52
RGB914282
HSL311°36.84%26.08%
HSB/HSV311°53.85%35.69%
CMYK0.00%53.85%9.89%
64.31%

Color #5B2A52 in popluar number systems.

HEX5B2A52
Decimal914282
Binary10110111010101010010
Octal13352122

Shades and tints

Shades of #5B2A52

#5B2A52
(91,42,82)
#53274B
(83,39,75)
#4B2444
(75,36,68)
#43213D
(67,33,61)
#3B1E36
(59,30,54)
#331B2F
(51,27,47)
#2B1828
(43,24,40)
#231521
(35,21,33)
#1B121A
(27,18,26)
#130F13
(19,15,19)
#0B0C0C
(11,12,12)
#000000
(0,0,0)

Tints of #5B2A52

#5B2A52
(91,42,82)
#693D61
(105,61,97)
#775070
(119,80,112)
#85637F
(133,99,127)
#93768E
(147,118,142)
#A1899D
(161,137,157)
#AF9CAC
(175,156,172)
#BDAFBB
(189,175,187)
#CBC2CA
(203,194,202)
#D9D5D9
(217,213,217)
#E7E8E8
(231,232,232)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #5B2A52 color. Also use rgb(91,42,82) instead hex code.

Text Font Color

.myTextColor { color: #5B2A52; }

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

This text font color is #5B2A52.


Background Color

.myBgColor { background-color: #5B2A52; }

<div style="background-color:#5B2A52">Inner text</div>

This div background color is #5B2A52.


Border color

.myBorderColor { border: 1px solid #5B2A52; }

<div style="border:3px solid #5B2A52">Div</div>

This div border color is #5B2A52.


Opacity

.myOpacity80 { color: #5B2A52; opacity: 0.8; }

<p style="color:#5B2A52;opacity:0.8;">80%</p>

Text with #5B2A52 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 #5B2A52;}

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

This text has shadow with #5B2A52 color.

.textShadow {text-shadow: 3px 3px 1px #5B2A52, 3px 3px 1px red;}

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

This text has shadow with #5B2A52 primary color and red secondary color.


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

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

This text has shadow with #5B2A52 and red colors in old Internet Explorer.


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5B2A52 on black background.


Color preview on white background

This text has color #5B2A52 on white background.



Black color preview on #5B2A52 background

This text has black color on #5B2A52 background.


White color preview on #5B2A52 background

This text has white color on #5B2A52 background.