COLOR #331746

HEX: #331746
RGB: (51,23,70)

Color info

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

RGB color model

#331746 color RGB value is (51,23,70).

  • red value is 51;
  • green value is 23;
  • blue value is 70.
RGB:
(51,23,70)
(20%,9%,27%)

RGB channels and saturation

R 51 of 255 = 20%
G 23 of 255 = 9%
B 70 of 255 = 27%

51
23
70

R + G + B ~ 19%. #331746 is dark color.

Portions of RGB colors in percentages

R + G + B =
51 + 23 + 70 = 144 (100%)
R 51 of 144 ~ 35.42%
G 23 of 144 ~ 15.97%
B 70 of 144 ~ 48.61%

%35.42
%15.97
%48.61

CMYK color model

#331746 color CMYK value is (27,67,0,73).

  • cyan value is 27.14%
  • magenta value is 67.14%
  • yellow value is 0.00%
  • key color value is 72.55%
CMYK:
(27,67,0,73)
C27M67Y0K73 
(27%,67%,0%,73%)
(0.27/0.67/0.00/0.73)	

CMYK percentages

%27.14
%67.14
%0
%72.55

Codes

Color #331746 in popluar color models

331746
RGB512370
HSL276°50.54%18.24%
HSB/HSV276°67.14%27.45%
CMYK27.14%67.14%0.00%
72.55%

Color #331746 in popluar number systems.

HEX331746
Decimal512370
Binary110011101111000110
Octal6327106

Shades and tints

Shades of #331746

#331746
(51,23,70)
#2F1540
(47,21,64)
#2B133A
(43,19,58)
#271134
(39,17,52)
#230F2E
(35,15,46)
#1F0D28
(31,13,40)
#1B0B22
(27,11,34)
#17091C
(23,9,28)
#130716
(19,7,22)
#0F0510
(15,5,16)
#0B030A
(11,3,10)
#000000
(0,0,0)

Tints of #331746

#331746
(51,23,70)
#452C56
(69,44,86)
#574166
(87,65,102)
#695676
(105,86,118)
#7B6B86
(123,107,134)
#8D8096
(141,128,150)
#9F95A6
(159,149,166)
#B1AAB6
(177,170,182)
#C3BFC6
(195,191,198)
#D5D4D6
(213,212,214)
#E7E9E6
(231,233,230)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #331746 color. Also use rgb(51,23,70) instead hex code.

Text Font Color

.myTextColor { color: #331746; }

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

This text font color is #331746.


Background Color

.myBgColor { background-color: #331746; }

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

This div background color is #331746.


Border color

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

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

This div border color is #331746.


Opacity

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

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

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

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

This text has shadow with #331746 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #331746 on black background.


Color preview on white background

This text has color #331746 on white background.



Black color preview on #331746 background

This text has black color on #331746 background.


White color preview on #331746 background

This text has white color on #331746 background.