Skip to content

Commit ee3a0d9

Browse files
committed
- Updated README
1 parent 0b20769 commit ee3a0d9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,12 +127,12 @@ $color = Color::fromHSV($hue, $saturation, $value, $alpha);
127127

128128
Get a HTML string representation of the color.
129129

130-
The `$colorString` returned will be a string containing either a HTML color name (if one exists), a hexadecimal string (if alpha is *1*) or an RGBA string.
131-
132130
```php
133131
$colorString = $color->toString();
134132
```
135133

134+
The `$colorString` returned will be a string containing either a HTML color name (if one exists), a hexadecimal string (if alpha is *1*) or an RGBA string.
135+
136136
**To Hex String**
137137

138138
Get a hexadecimal string representation of the color.

0 commit comments

Comments
 (0)