HTML Color Code Generator: #D2B48C
The current display color is #d2b48c
, so all examples below have had their HTML color code generated using #d2b48c
as the color.
Change Color
Select a new color to generate the HTML code necessary to include it into your HTML document.
Text Color
Here are examples of text color being set to #d2b48c
Source Code | Result |
---|---|
The color of this text is: #D2B48C. The color of this text is inherited from its containing block, but the text inside this 'span' tag has been changed to #D2B48C. The text inside this 'div' tag has a color of #D2B48C.
|
Background Color
Source Code | Result |
---|---|
The color of this paragraph is: #D2B48C. The background color of this text is inherited from its containing block, but the background color of this 'span' tag has been changed to #D2B48C. The background color of this 'div' tag is #D2B48C.
|
Border Color
Source Code | Result |
---|---|
This text has a border color of: #D2B48C. The border of this text is inherited from its containing block, but this 'span' tag has a border with a color of #D2B48C. The border color of this 'div' tag is #D2B48C.
|
Outline Color
An outline is similar to a border, except that the outline is not actually part of the element - it simply draws an "outline" around the element.
Source Code | Result |
---|---|
This text has an outline color of: #D2B48C. The outline of this text is inherited from its containing block, but this 'span' tag has an outline color of #D2B48C. The outline color of this 'div' tag is #D2B48C.
|
Color Code Chart
Pick a color from the chart to generate the HTML code for that color. Selecting a color will also change the background of the chart so that you can check how it looks against the other colors.
To select a color, click on the color name or its hexadecimal value.
The currently selected color (#d2b48c
) is a hexadecimal value. Hexadecimal color codes are usually the best color values to use - as they are more compatible with browsers, operating systems, etc.