COLOR #31127C

HEX: #31127C
RGB: (49,18,124)

Color info

#31127C contains mainly blue color. Web safe color of #31127C is #330066 (or #306).

RGB color model

#31127C color RGB value is (49,18,124).

  • red value is 49;
  • green value is 18;
  • blue value is 124.
RGB:
(49,18,124)
(19%,7%,49%)

RGB channels and saturation

R 49 of 255 = 19%
G 18 of 255 = 7%
B 124 of 255 = 49%

49
18
124

R + G + B ~ 25%. #31127C is quite dark color.

Portions of RGB colors in percentages

R + G + B =
49 + 18 + 124 = 191 (100%)
R 49 of 191 ~ 25.65%
G 18 of 191 ~ 9.42%
B 124 of 191 ~ 64.92%

%25.65
%64.92

CMYK color model

#31127C color CMYK value is (60,85,0,51).

  • cyan value is 60.48%
  • magenta value is 85.48%
  • yellow value is 0.00%
  • key color value is 51.37%
CMYK:
(60,85,0,51)
C60M85Y0K51 
(60%,85%,0%,51%)
(0.60/0.85/0.00/0.51)	

CMYK percentages

%60.48
%85.48
%0
%51.37

Codes

Color #31127C in popluar color models

31127C
RGB4918124
HSL258°74.65%27.84%
HSB/HSV258°85.48%48.63%
CMYK60.48%85.48%0.00%
51.37%

Color #31127C in popluar number systems.

HEX31127C
Decimal4918124
Binary110001100101111100
Octal6122174

Shades and tints

Shades of #31127C

#31127C
(49,18,124)
#2D1171
(45,17,113)
#291066
(41,16,102)
#250F5B
(37,15,91)
#210E50
(33,14,80)
#1D0D45
(29,13,69)
#190C3A
(25,12,58)
#150B2F
(21,11,47)
#110A24
(17,10,36)
#0D0919
(13,9,25)
#09080E
(9,8,14)
#000000
(0,0,0)

Tints of #31127C

#31127C
(49,18,124)
#432787
(67,39,135)
#553C92
(85,60,146)
#67519D
(103,81,157)
#7966A8
(121,102,168)
#8B7BB3
(139,123,179)
#9D90BE
(157,144,190)
#AFA5C9
(175,165,201)
#C1BAD4
(193,186,212)
#D3CFDF
(211,207,223)
#E5E4EA
(229,228,234)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #31127C color. Also use rgb(49,18,124) instead hex code.

Text Font Color

.myTextColor { color: #31127C; }

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

This text font color is #31127C.


Background Color

.myBgColor { background-color: #31127C; }

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

This div background color is #31127C.


Border color

.myBorderColor { border: 1px solid #31127C; }

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

This div border color is #31127C.


Opacity

.myOpacity80 { color: #31127C; opacity: 0.8; }

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

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

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

This text has shadow with #31127C color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #31127C on black background.


Color preview on white background

This text has color #31127C on white background.



Black color preview on #31127C background

This text has black color on #31127C background.


White color preview on #31127C background

This text has white color on #31127C background.