# Enumeration colors - functions and String

* enum
* dead_code
* PartialEq

* Similar example with colors with functions to convert to RGB and from RGB values.

{% embed include file="src/examples/enums/colors-with-functions-using-strings/src/main.rs" %}
{% embed include file="src/examples/enums/colors-with-functions-using-strings/out.out" %}


