<div class='type'>Function</div>


<a id='references'></a>


<h2 id="toargb">toArgb</h2>

<div class='sourceset sourceset-common'>Common</div>


```kotlin
@ColorInt
fun Color.toArgb(): Int
```


Converts this color to an ARGB color int. A color int is always in the `sRGB`
color space. This implies a color space conversion is applied if needed.

#### Returns

| | |
| --- | --- |
|  | An ARGB color in the sRGB color space |