COLOR #331755

HEX: #331755 RGB: (51,23,85)

Color info

#331755 contains mainly red and blue colors. Web safe color of #331755 is #330066 (or #306).

RGB color model

#331755 color RGB value is (51,23,85).

RGB: (51,23,85) (20%, 9%, 33%)

RGB channels and saturation

R 51 of 255 = 20%
G 23 of 255 = 9%
B 85 of 255 = 33%

51
23
85

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

Portions of RGB colors in percentages

R + G + B = 51 + 23 + 85 = 159 (100%)
R 51 of 159 ~ 32.08%
G 23 of 159 ~ 14.47%
B 85 of 159 ~ 53.46'%

%32.08
%14.47
%53.46

CMYK color model

#331755 color CMYK value is (40,73,0,67).

  • cyan value is 40.00%
  • magenta value is 72.94%
  • yellow value is 0.00%
  • key color value is 66.67%

CMYK: (40,73,0,67)
C40M73Y0K67 (40%, 73%, 0%, 67%)
(0.40 / 0.73 / 0.00 / 0.67)

CMYK percentages

%40
%72.94
%0
%66.67

Codes

Color #331755 in popluar color models

33 17 55
RGB 51 23 85
HSL 267° 57.41% 21.18%
HSB/HSV 267° 72.94% 33.33%
CMYK 40.00% 72.94% 0.00%
66.67%

Color #331755 in popluar number systems.

HEX 33 17 55
Decimal 51 23 85
Binary 110011 10111 1010101
Octal 63 27 125

Shades and tints

Shades of #331755

#331755
(51,23,85)
#2F154E
(47,21,78)
#2B1347
(43,19,71)
#271140
(39,17,64)
#230F39
(35,15,57)
#1F0D32
(31,13,50)
#1B0B2B
(27,11,43)
#170924
(23,9,36)
#13071D
(19,7,29)
#0F0516
(15,5,22)
#0B030F
(11,3,15)
#000000
(0,0,0)

Tints of #331755

#331755
(51,23,85)
#452C64
(69,44,100)
#574173
(87,65,115)
#695682
(105,86,130)
#7B6B91
(123,107,145)
#8D80A0
(141,128,160)
#9F95AF
(159,149,175)
#B1AABE
(177,170,190)
#C3BFCD
(195,191,205)
#D5D4DC
(213,212,220)
#E7E9EB
(231,233,235)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #331755; }

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

This text font color is #331755.

Background Color

.myBgColor { background-color: #331755; }

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

This div background color is #331755.

Border color

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

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

This div border color is #331755.

Opacity

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

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

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

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

This text has shadow with #331755 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #331755.

Preview

Color preview on black background

This text has color #331755 on black background.


Color preview on white background

This text has color #331755 on white background.


Black color preview on #331755 background

This text has black color on #331755 background.


White color preview on #331755 background

This text has white color on #331755 background.


Related colors

Complementary color

Complementary color for #hex is #CCE8AA.


I love getcolorcode.com

Triadic colors

1 #553317 and #175533 with #331755 are triadic colors.

2 #551733 and #173355 with #331755 are triadic colors.