Skip to content

Commit 6dfdf4b

Browse files
authored
Update README.md
Fixed #7
1 parent c3dc0e0 commit 6dfdf4b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -269,13 +269,13 @@ Color::getColorHueRange(Color::get('rgba(80, 0, 0)')); //Color::HUE_RANGE_RED
269269
//Gets the hexadecimal representation of a color.
270270
//Notice that it will turn an Alpha-color into a 4-channel hexadecimal string, because it can also parse them.
271271
//If you want to use the hex value in CSS or HTML, use `toRgb()` on the color before to strip the alpha channel
272-
Color::getHexString($color);
272+
Color::toHexString($color);
273273

274274
//Gets the integer representation of a color (including support for alpha channel)
275-
Color::getInt($color);
275+
Color::toInt($color);
276276

277277
//Get the name of a color. Many colors don't have names, it will return a hex-representation in this case
278-
Color::getName($color);
278+
Color::toName($color);
279279
```
280280

281281
---
@@ -645,4 +645,4 @@ If you like my work, it helped you in some way, eased up work for you or anythin
645645
- http://www.tigercolor.com/color-lab/color-theory/color-theory-intro.htm
646646
- https://gist.github.com/mjackson/5311256
647647
- https://raw.githubusercontent.com/RnbwNoise/ImageAffineMatrix/master/ImageAffineMatrix.php
648-
- https://github.com/Qix-/color-convert/blob/master/conversions.js
648+
- https://github.com/Qix-/color-convert/blob/master/conversions.js

0 commit comments

Comments
 (0)