Notes |
(0010781 - 241 - 345 - 345 - 345 - 345 - 345)
johnpf
06-08-07 00:30
edited on: 06-08-07 00:57
|
A slightly more parsimonious fix is:
printHtmlString
"answer a string whose characters are the html representation
of the receiver"
^ ((Color hex: self red)
, (Color hex: self green)
, (Color hex: self blue)) asUppercase
|
|
(0010782 - 174 - 220 - 220 - 220 - 220 - 220)
johnpf
06-08-07 00:41
|
Yet more parsimonious:
Color>>printHtmlString
"answer a string whose characters are the html representation
of the receiver"
^ self asHTMLColor allButFirst asUppercase |
|
(0010783 - 174 - 220 - 220 - 220 - 220 - 220)
johnpf
06-08-07 00:57
|
Yet more parsimonious:
Color>>printHtmlString
"answer a string whose characters are the html representation
of the receiver"
^ self asHTMLColor allButFirst asUppercase |
|