COLOR #31255E

HEX: #31255E
RGB: (49,37,94)

Color info

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

RGB color model

#31255E color RGB value is (49,37,94).

  • red value is 49;
  • green value is 37;
  • blue value is 94.
RGB:
(49,37,94)
(19%,15%,37%)

RGB channels and saturation

R 49 of 255 = 19%
G 37 of 255 = 15%
B 94 of 255 = 37%

49
37
94

R + G + B ~ 24%. #31255E is dark color.

Portions of RGB colors in percentages

R + G + B =
49 + 37 + 94 = 180 (100%)
R 49 of 180 ~ 27.22%
G 37 of 180 ~ 20.56%
B 94 of 180 ~ 52.22%

%27.22
%20.56
%52.22

CMYK color model

#31255E color CMYK value is (48,61,0,63).

  • cyan value is 47.87%
  • magenta value is 60.64%
  • yellow value is 0.00%
  • key color value is 63.14%
CMYK:
(48,61,0,63)
C48M61Y0K63 
(48%,61%,0%,63%)
(0.48/0.61/0.00/0.63)	

CMYK percentages

%47.87
%60.64
%0
%63.14

Codes

Color #31255E in popluar color models

31255E
RGB493794
HSL253°43.51%25.69%
HSB/HSV253°60.64%36.86%
CMYK47.87%60.64%0.00%
63.14%

Color #31255E in popluar number systems.

HEX31255E
Decimal493794
Binary1100011001011011110
Octal6145136

Shades and tints

Shades of #31255E

#31255E
(49,37,94)
#2D2256
(45,34,86)
#291F4E
(41,31,78)
#251C46
(37,28,70)
#21193E
(33,25,62)
#1D1636
(29,22,54)
#19132E
(25,19,46)
#151026
(21,16,38)
#110D1E
(17,13,30)
#0D0A16
(13,10,22)
#09070E
(9,7,14)
#000000
(0,0,0)

Tints of #31255E

#31255E
(49,37,94)
#43386C
(67,56,108)
#554B7A
(85,75,122)
#675E88
(103,94,136)
#797196
(121,113,150)
#8B84A4
(139,132,164)
#9D97B2
(157,151,178)
#AFAAC0
(175,170,192)
#C1BDCE
(193,189,206)
#D3D0DC
(211,208,220)
#E5E3EA
(229,227,234)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #31255E color. Also use rgb(49,37,94) instead hex code.

Text Font Color

.myTextColor { color: #31255E; }

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

This text font color is #31255E.


Background Color

.myBgColor { background-color: #31255E; }

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

This div background color is #31255E.


Border color

.myBorderColor { border: 1px solid #31255E; }

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

This div border color is #31255E.


Opacity

.myOpacity80 { color: #31255E; opacity: 0.8; }

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

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

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

This text has shadow with #31255E color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #31255E on black background.


Color preview on white background

This text has color #31255E on white background.



Black color preview on #31255E background

This text has black color on #31255E background.


White color preview on #31255E background

This text has white color on #31255E background.