Usage
$averageColor[;] Also callable as
$meanColor Arguments
| Name | Type | Required | Description |
|---|---|---|---|
format | Yes | The desired output format (hex, rgb, hsl, etc.). | |
...colors | String | Yes | Two or more colors to average. |
Output
StringCalculates the average (mean) color from two or more input colors and returns it in the specified format.
$averageColor[;] $meanColor | Name | Type | Required | Description |
|---|---|---|---|
format | Yes | The desired output format (hex, rgb, hsl, etc.). | |
...colors | String | Yes | Two or more colors to average. |
StringWas this page helpful?