Color.st
changeset 7885 0144afcdce5a
parent 7833 7cffe851a6d2
child 7909 c5f82e9429f9
--- a/Color.st	Mon Feb 13 20:03:23 2017 +0100
+++ b/Color.st	Mon Feb 13 20:06:35 2017 +0100
@@ -5031,7 +5031,7 @@
     "/
     "/ ok, we are either going to dither that color, or look for
     "/ the nearest.
-    "/ if its 'almost' grey, make it grey and round it a bit (1%)
+    "/ if it's 'almost' grey, make it grey and round it a bit (1%)
     "/
     greyV := (3 * red) + (6 * green) + (1 * blue).
     greyV := (greyV / 1000.0) rounded * 100.
@@ -5169,8 +5169,9 @@
     ].
     ^ newColor
 
-    "Created: / 16.11.1995 / 20:16:42 / cg"
-    "Modified: / 8.9.1998 / 17:32:10 / cg"
+    "Created: / 16-11-1995 / 20:16:42 / cg"
+    "Modified: / 08-09-1998 / 17:32:10 / cg"
+    "Modified (comment): / 13-02-2017 / 19:58:41 / cg"
 ! !
 
 
@@ -5233,7 +5234,7 @@
     "answer a slightly brightened or darkened variant of myself,
      to ensure a good contrast when showing text on a background color.
      i.e. when drawing read on grey, it might be better to darken or brighten 
-     the red, if its brightness is too near to the grey's brightness.
+     the red, if it's brightness is too near to the grey's brightness.
      Use this for alert strings shown on a color background."
 
     |colorUsed bgBrightness|
@@ -5262,6 +5263,8 @@
      (Color red) contrastingColorFor:Color grey
      (Color blue) contrastingColorFor:Color black
     "
+
+    "Modified (comment): / 13-02-2017 / 19:58:34 / cg"
 !
 
 darkened