Property | Type | Description | |
---|---|---|---|
$b | integer | Blue component: 0-255 | |
$g | integer | Green component: 0-255 | |
$r | integer | Red component: 0-255 |
Method | Description | |
---|---|---|
Securimage_Color ( $red, $green = NULL, $blue = NULL ) |
Create a new Securimage_Color object. Specify the red, green, and blue components using their HTML hex code equivalent. Example: The code for the HTML color #4A203C is: $color = new Securimage_Color(0x4A, 0x20, 0x3C); |
public Securimage_Color ( $red, $green = NULL, $blue = NULL ) | ||
$red | Red component 0-255 | |
$green | Green component 0-255 | |
$blue | Blue component 0-255 |