COLOR #332842

HEX: #332842
RGB: (51,40,66)

Color info

#332842 contains red, green and blue colors in about the same proportion. Web safe color of #332842 is #333333 (or #333).

RGB color model

#332842 color RGB value is (51,40,66).

  • red value is 51;
  • green value is 40;
  • blue value is 66.
RGB:
(51,40,66)
(20%,16%,26%)

RGB channels and saturation

R 51 of 255 = 20%
G 40 of 255 = 16%
B 66 of 255 = 26%

51
40
66

R + G + B ~ 21%. #332842 is dark color.

Portions of RGB colors in percentages

R + G + B =
51 + 40 + 66 = 157 (100%)
R 51 of 157 ~ 32.48%
G 40 of 157 ~ 25.48%
B 66 of 157 ~ 42.04%

%32.48
%25.48
%42.04

CMYK color model

#332842 color CMYK value is (23,39,0,74).

  • cyan value is 22.73%
  • magenta value is 39.39%
  • yellow value is 0.00%
  • key color value is 74.12%
CMYK:
(23,39,0,74)
C23M39Y0K74 
(23%,39%,0%,74%)
(0.23/0.39/0.00/0.74)	

CMYK percentages

%22.73
%39.39
%0
%74.12

Codes

Color #332842 in popluar color models

332842
RGB514066
HSL265°24.53%20.78%
HSB/HSV265°39.39%25.88%
CMYK22.73%39.39%0.00%
74.12%

Color #332842 in popluar number systems.

HEX332842
Decimal514066
Binary1100111010001000010
Octal6350102

Shades and tints

Shades of #332842

#332842
(51,40,66)
#2F253C
(47,37,60)
#2B2236
(43,34,54)
#271F30
(39,31,48)
#231C2A
(35,28,42)
#1F1924
(31,25,36)
#1B161E
(27,22,30)
#171318
(23,19,24)
#131012
(19,16,18)
#0F0D0C
(15,13,12)
#0B0A06
(11,10,6)
#000000
(0,0,0)

Tints of #332842

#332842
(51,40,66)
#453B53
(69,59,83)
#574E64
(87,78,100)
#696175
(105,97,117)
#7B7486
(123,116,134)
#8D8797
(141,135,151)
#9F9AA8
(159,154,168)
#B1ADB9
(177,173,185)
#C3C0CA
(195,192,202)
#D5D3DB
(213,211,219)
#E7E6EC
(231,230,236)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #332842 color. Also use rgb(51,40,66) instead hex code.

Text Font Color

.myTextColor { color: #332842; }

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

This text font color is #332842.


Background Color

.myBgColor { background-color: #332842; }

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

This div background color is #332842.


Border color

.myBorderColor { border: 1px solid #332842; }

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

This div border color is #332842.


Opacity

.myOpacity80 { color: #332842; opacity: 0.8; }

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

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

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

This text has shadow with #332842 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #332842 on black background.


Color preview on white background

This text has color #332842 on white background.



Black color preview on #332842 background

This text has black color on #332842 background.


White color preview on #332842 background

This text has white color on #332842 background.