> For the complete documentation index, see [llms.txt](https://neomatrixcode.gitbook.io/faker/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://neomatrixcode.gitbook.io/faker/guide/providers/color.md).

# Color

{% hint style="info" %}
All parameters are optional. The sample parameters are the default values used by each function.
{% endhint %}

```rust
Faker.color_name()
=> YellowGreen


Faker.safe_color_name()
=> lime


Faker.hex_color()
=> #DDA0DD


Faker.rgb_color_list()
=> (45,178,72)


Faker.rgb_color()
=> 12,158,151


Faker.rgb_css_color()
=> rgb(73,15,20)

```
