COLOR #312955

HEX: #312955 RGB: (49,41,85)

Color info

#312955 contains red, green and blue colors in about the same proportion. Web safe color of #312955 is #333366 (or #336).

RGB color model

#312955 color RGB value is (49,41,85).

RGB: (49,41,85) (19%, 16%, 33%)

RGB channels and saturation

R 49 of 255 = 19%
G 41 of 255 = 16%
B 85 of 255 = 33%

49
41
85

R + G + B ~ 23%. #312955 is dark color.

Portions of RGB colors in percentages

R + G + B = 49 + 41 + 85 = 175 (100%)
R 49 of 175 ~ 28%
G 41 of 175 ~ 23.43%
B 85 of 175 ~ 48.57'%

%28
%23.43
%48.57

CMYK color model

#312955 color CMYK value is (42,52,0,67).

  • cyan value is 42.35%
  • magenta value is 51.76%
  • yellow value is 0.00%
  • key color value is 66.67%
CMYK: (42,52,0,67) C42M52Y0K67 (42%,52%,0%,67%) (0.42/0.52/0.00/0.67) 

CMYK percentages

%42.35
%51.76
%0
%66.67

Codes

Color #312955 in popluar color models

31 29 55
RGB 49 41 85
HSL 251° 34.92% 24.71%
HSB/HSV 251° 51.76% 33.33%
CMYK 42.35% 51.76% 0.00%
66.67%

Color #312955 in popluar number systems.

HEX 31 29 55
Decimal 49 41 85
Binary 110001 101001 1010101
Octal 61 51 125

Shades and tints

Shades of #312955

#312955
(49,41,85)
#2D264E
(45,38,78)
#292347
(41,35,71)
#252040
(37,32,64)
#211D39
(33,29,57)
#1D1A32
(29,26,50)
#19172B
(25,23,43)
#151424
(21,20,36)
#11111D
(17,17,29)
#0D0E16
(13,14,22)
#090B0F
(9,11,15)
#000000
(0,0,0)

Tints of #312955

#312955
(49,41,85)
#433C64
(67,60,100)
#554F73
(85,79,115)
#676282
(103,98,130)
#797591
(121,117,145)
#8B88A0
(139,136,160)
#9D9BAF
(157,155,175)
#AFAEBE
(175,174,190)
#C1C1CD
(193,193,205)
#D3D4DC
(211,212,220)
#E5E7EB
(229,231,235)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #312955 color. Also use rgb(49,41,85) instead hex code.

Text Font Color

.myTextColor { color: #312955; }

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

This text font color is #312955.

Background Color

.myBgColor { background-color: #312955; }

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

This div background color is #312955.

Border color

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

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

This div border color is #312955.

Opacity

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

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

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

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

This text has shadow with #312955 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #312955.

Preview

Color preview on black background

This text has color #312955 on black background.


Color preview on white background

This text has color #312955 on white background.


Black color preview on #312955 background

This text has black color on #312955 background.


White color preview on #312955 background

This text has white color on #312955 background.


Related colors

Complementary color

Complementary color for #hex is #CED6AA.


I love getcolorcode.com

Triadic colors

1 #553129 and #295531 with #312955 are triadic colors.

2 #552931 and #293155 with #312955 are triadic colors.