COLOR #251B2A

HEX: #251B2A
RGB: (37,27,42)

Color info

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

RGB color model

#251B2A color RGB value is (37,27,42).

  • red value is 37;
  • green value is 27;
  • blue value is 42.
RGB:
(37,27,42)
(15%,11%,16%)

RGB channels and saturation

R 37 of 255 = 15%
G 27 of 255 = 11%
B 42 of 255 = 16%

37
27
42

R + G + B ~ 14%. #251B2A is dark color.

Portions of RGB colors in percentages

R + G + B =
37 + 27 + 42 = 106 (100%)
R 37 of 106 ~ 34.91%
G 27 of 106 ~ 25.47%
B 42 of 106 ~ 39.62%

%34.91
%25.47
%39.62

CMYK color model

#251B2A color CMYK value is (12,36,0,84).

  • cyan value is 11.90%
  • magenta value is 35.71%
  • yellow value is 0.00%
  • key color value is 83.53%
CMYK:
(12,36,0,84)
C12M36Y0K84 
(12%,36%,0%,84%)
(0.12/0.36/0.00/0.84)	

CMYK percentages

%11.9
%35.71
%0
%83.53

Codes

Color #251B2A in popluar color models

251B2A
RGB372742
HSL280°21.74%13.53%
HSB/HSV280°35.71%16.47%
CMYK11.90%35.71%0.00%
83.53%

Color #251B2A in popluar number systems.

HEX251B2A
Decimal372742
Binary10010111011101010
Octal453352

Shades and tints

Shades of #251B2A

#251B2A
(37,27,42)
#221927
(34,25,39)
#1F1724
(31,23,36)
#1C1521
(28,21,33)
#19131E
(25,19,30)
#16111B
(22,17,27)
#130F18
(19,15,24)
#100D15
(16,13,21)
#0D0B12
(13,11,18)
#0A090F
(10,9,15)
#07070C
(7,7,12)
#000000
(0,0,0)

Tints of #251B2A

#251B2A
(37,27,42)
#382F3D
(56,47,61)
#4B4350
(75,67,80)
#5E5763
(94,87,99)
#716B76
(113,107,118)
#847F89
(132,127,137)
#97939C
(151,147,156)
#AAA7AF
(170,167,175)
#BDBBC2
(189,187,194)
#D0CFD5
(208,207,213)
#E3E3E8
(227,227,232)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #251B2A color. Also use rgb(37,27,42) instead hex code.

Text Font Color

.myTextColor { color: #251B2A; }

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

This text font color is #251B2A.


Background Color

.myBgColor { background-color: #251B2A; }

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

This div background color is #251B2A.


Border color

.myBorderColor { border: 1px solid #251B2A; }

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

This div border color is #251B2A.


Opacity

.myOpacity80 { color: #251B2A; opacity: 0.8; }

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

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

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

This text has shadow with #251B2A color.

.textShadow {text-shadow: 3px 3px 1px #251B2A, 3px 3px 1px red;}

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #251B2A on black background.


Color preview on white background

This text has color #251B2A on white background.



Black color preview on #251B2A background

This text has black color on #251B2A background.


White color preview on #251B2A background

This text has white color on #251B2A background.