--- a/Color.st Wed Sep 14 17:50:33 2016 +0200
+++ b/Color.st Thu Sep 15 19:46:44 2016 +0200
@@ -1,5 +1,3 @@
-"{ Encoding: utf8 }"
-
"
COPYRIGHT (c) 1992 by Claus Gittinger
All Rights Reserved
@@ -996,14 +994,14 @@
hue:h light:l saturation:s
"return a color from hue, light and saturation values.
- Hue is in degrees (0..360); light and sturation are
+ Hue is in degrees (0..360); light and saturation are
in percent (0..100)"
self withRGBFromHue:h light:l saturation:s do:[:r :g :b |
- ^ self
- redPercent:(r clampBetween:0 and:100)
- greenPercent:(g clampBetween:0 and:100)
- bluePercent:(b clampBetween:0 and:100)
+ ^ self
+ redPercent:(r clampBetween:0 and:100)
+ greenPercent:(g clampBetween:0 and:100)
+ bluePercent:(b clampBetween:0 and:100)
]
"