COLOR #281F41

HEX: #281F41
RGB: (40,31,65)

Color info

#281F41 contains red, green and blue colors in about the same proportion. Web safe color of #281F41 is #333333 (or #333).

RGB color model

#281F41 color RGB value is (40,31,65).

  • red value is 40;
  • green value is 31;
  • blue value is 65.
RGB:
(40,31,65)
(16%,12%,25%)

RGB channels and saturation

R 40 of 255 = 16%
G 31 of 255 = 12%
B 65 of 255 = 25%

40
31
65

R + G + B ~ 18%. #281F41 is dark color.

Portions of RGB colors in percentages

R + G + B =
40 + 31 + 65 = 136 (100%)
R 40 of 136 ~ 29.41%
G 31 of 136 ~ 22.79%
B 65 of 136 ~ 47.79%

%29.41
%22.79
%47.79

CMYK color model

#281F41 color CMYK value is (38,52,0,75).

  • cyan value is 38.46%
  • magenta value is 52.31%
  • yellow value is 0.00%
  • key color value is 74.51%
CMYK:
(38,52,0,75)
C38M52Y0K75 
(38%,52%,0%,75%)
(0.38/0.52/0.00/0.75)	

CMYK percentages

%38.46
%52.31
%0
%74.51

Codes

Color #281F41 in popluar color models

281F41
RGB403165
HSL256°35.42%18.82%
HSB/HSV256°52.31%25.49%
CMYK38.46%52.31%0.00%
74.51%

Color #281F41 in popluar number systems.

HEX281F41
Decimal403165
Binary101000111111000001
Octal5037101

Shades and tints

Shades of #281F41

#281F41
(40,31,65)
#251D3C
(37,29,60)
#221B37
(34,27,55)
#1F1932
(31,25,50)
#1C172D
(28,23,45)
#191528
(25,21,40)
#161323
(22,19,35)
#13111E
(19,17,30)
#100F19
(16,15,25)
#0D0D14
(13,13,20)
#0A0B0F
(10,11,15)
#000000
(0,0,0)

Tints of #281F41

#281F41
(40,31,65)
#3B3352
(59,51,82)
#4E4763
(78,71,99)
#615B74
(97,91,116)
#746F85
(116,111,133)
#878396
(135,131,150)
#9A97A7
(154,151,167)
#ADABB8
(173,171,184)
#C0BFC9
(192,191,201)
#D3D3DA
(211,211,218)
#E6E7EB
(230,231,235)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #281F41 color. Also use rgb(40,31,65) instead hex code.

Text Font Color

.myTextColor { color: #281F41; }

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

This text font color is #281F41.


Background Color

.myBgColor { background-color: #281F41; }

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

This div background color is #281F41.


Border color

.myBorderColor { border: 1px solid #281F41; }

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

This div border color is #281F41.


Opacity

.myOpacity80 { color: #281F41; opacity: 0.8; }

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

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

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

This text has shadow with #281F41 color.

.textShadow {text-shadow: 3px 3px 1px #281F41, 3px 3px 1px red;}

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #281F41 on black background.


Color preview on white background

This text has color #281F41 on white background.



Black color preview on #281F41 background

This text has black color on #281F41 background.


White color preview on #281F41 background

This text has white color on #281F41 background.