Cocoa color, derived from the tropical Theobroma cacao tree, is a rich, earthy brown hue that evokes both warmth and sophistication. In the digital age, it's essential to represent this color accurately in code, and that's where cocoa color codes come in.

Cocoa color codes are represented in various formats, including RGB (Red, Green, Blue), HSL (Hue, Saturation, Lightness), and Hexadecimal. Each format serves a unique purpose, and understanding them can help you apply cocoa color consistently across different platforms and mediums.

Cocoa Color in RGB Format
RGB is a color model that represents colors as a combination of red, green, and blue light. Here's how you can express cocoa color in RGB:

'Cocoa color' in RGB format is represented as (34, 2, 1), where 34 is the value for red, 2 for green, and 1 for blue.
RGB Values for Cocoa Color

The RGB value for cocoa color corresponds to the following HEX and HSL values, which can be useful when converting between color models:
| RGB | HEX | HSL |
|---|---|---|
| (34, 2, 1) | #220201 | (35°, 100%, 6%) |
Using RGB Cocoa Color in Web Design

In web design, you can use RGB cocoa color like this:
```html
This text is in cocoa color.
```







