COLOR #271B59

HEX: #271B59
RGB: (39,27,89)

Color info

#271B59 contains mainly red and blue colors. Web safe color of #271B59 is #333366 (or #336).

RGB color model

#271B59 color RGB value is (39,27,89).

  • red value is 39;
  • green value is 27;
  • blue value is 89.
RGB: (39,27,89) (15%,11%,35%)

RGB channels and saturation

R 39 of 255 = 15%
G 27 of 255 = 11%
B 89 of 255 = 35%

39
27
89

R + G + B ~ 20%. #271B59 is dark color.

Portions of RGB colors in percentages

R + G + B =
39 + 27 + 89 = 155 (100%)
R 39 of 155 ~ 25.16%
G 27 of 155 ~ 17.42%
B 89 of 155 ~ 57.42%

%25.16
%17.42
%57.42

CMYK color model

#271B59 color CMYK value is (56,70,0,65).

  • cyan value is 56.18%
  • magenta value is 69.66%
  • yellow value is 0.00%
  • key color value is 65.10%
CMYK: (56,70,0,65) C56M70Y0K65 (56%,70%,0%,65%) (0.56/0.70/0.00/0.65)

CMYK percentages

%56.18
%69.66
%0
%65.1

Codes

Color #271B59 in popluar color models

271B59
RGB392789
HSL252°53.45%22.75%
HSB/HSV252°69.66%34.90%
CMYK56.18%69.66%0.00%
65.10%

Color #271B59 in popluar number systems.

HEX271B59
Decimal392789
Binary100111110111011001
Octal4733131

Shades and tints

Shades of #271B59

#271B59
(39,27,89)
#241951
(36,25,81)
#211749
(33,23,73)
#1E1541
(30,21,65)
#1B1339
(27,19,57)
#181131
(24,17,49)
#150F29
(21,15,41)
#120D21
(18,13,33)
#0F0B19
(15,11,25)
#0C0911
(12,9,17)
#090709
(9,7,9)
#000000
(0,0,0)

Tints of #271B59

#271B59
(39,27,89)
#3A2F68
(58,47,104)
#4D4377
(77,67,119)
#605786
(96,87,134)
#736B95
(115,107,149)
#867FA4
(134,127,164)
#9993B3
(153,147,179)
#ACA7C2
(172,167,194)
#BFBBD1
(191,187,209)
#D2CFE0
(210,207,224)
#E5E3EF
(229,227,239)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #271B59 color. Also use rgb(39,27,89) instead hex code.

Text Font Color

.myTextColor { color: #271B59; }

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

This text font color is #271B59.


Background Color

.myBgColor { background-color: #271B59; }

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

This div background color is #271B59.


Border color

.myBorderColor { border: 1px solid #271B59; }

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

This div border color is #271B59.


Opacity

.myOpacity80 { color: #271B59; opacity: 0.8; }

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

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

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

This text has shadow with #271B59 color.

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

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

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


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

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

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


Div box shadow color

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

Preview

Color preview on black background

This text has color #271B59 on black background.


Color preview on white background

This text has color #271B59 on white background.



Black color preview on #271B59 background

This text has black color on #271B59 background.


White color preview on #271B59 background

This text has white color on #271B59 background.