# IconAttribute

Sets the icon of a type or a type member. Colors are expected in HTML formats, like "rgb(255,255,255)" or "#FFFFFF".
This info can then be retrieved via DisplayInfo library.

- Kind: attribute
- Assembly: `Sandbox.System`
- Modifiers: sealed

## Constructors

- [`IconAttribute`](/api/IconAttribute/.ctor)

## Properties

- [`BackgroundColor`](/api/IconAttribute/BackgroundColor): The preferred background color for the icon.
- [`ForegroundColor`](/api/IconAttribute/ForegroundColor): The preferred color of the icon itself.
- [`Value`](/api/IconAttribute/Value)
