COLOR #331642

HEX: #331642
RGB: (51,22,66)

Color info

#331642 contains red, green and blue colors in about the same proportion. Web safe color of #331642 is #330033 (or #303).

RGB color model

#331642 color RGB value is (51,22,66).

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

RGB channels and saturation

R 51 of 255 = 20%
G 22 of 255 = 9%
B 66 of 255 = 26%

51
22
66

R + G + B ~ 18%. #331642 is dark color.

Portions of RGB colors in percentages

R + G + B =
51 + 22 + 66 = 139 (100%)
R 51 of 139 ~ 36.69%
G 22 of 139 ~ 15.83%
B 66 of 139 ~ 47.48%

%36.69
%15.83
%47.48

CMYK color model

#331642 color CMYK value is (23,67,0,74).

  • cyan value is 22.73%
  • magenta value is 66.67%
  • yellow value is 0.00%
  • key color value is 74.12%
CMYK:
(23,67,0,74)
C23M67Y0K74 
(23%,67%,0%,74%)
(0.23/0.67/0.00/0.74)	

CMYK percentages

%22.73
%66.67
%0
%74.12

Codes

Color #331642 in popluar color models

331642
RGB512266
HSL280°50.00%17.25%
HSB/HSV280°66.67%25.88%
CMYK22.73%66.67%0.00%
74.12%

Color #331642 in popluar number systems.

HEX331642
Decimal512266
Binary110011101101000010
Octal6326102

Shades and tints

Shades of #331642

#331642
(51,22,66)
#2F143C
(47,20,60)
#2B1236
(43,18,54)
#271030
(39,16,48)
#230E2A
(35,14,42)
#1F0C24
(31,12,36)
#1B0A1E
(27,10,30)
#170818
(23,8,24)
#130612
(19,6,18)
#0F040C
(15,4,12)
#0B0206
(11,2,6)
#000000
(0,0,0)

Tints of #331642

#331642
(51,22,66)
#452B53
(69,43,83)
#574064
(87,64,100)
#695575
(105,85,117)
#7B6A86
(123,106,134)
#8D7F97
(141,127,151)
#9F94A8
(159,148,168)
#B1A9B9
(177,169,185)
#C3BECA
(195,190,202)
#D5D3DB
(213,211,219)
#E7E8EC
(231,232,236)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #331642; }

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

This text font color is #331642.


Background Color

.myBgColor { background-color: #331642; }

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

This div background color is #331642.


Border color

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

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

This div border color is #331642.


Opacity

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

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

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

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

This text has shadow with #331642 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #331642 on black background.


Color preview on white background

This text has color #331642 on white background.



Black color preview on #331642 background

This text has black color on #331642 background.


White color preview on #331642 background

This text has white color on #331642 background.