The Inbox: Graphics-nice.407.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

The Inbox: Graphics-nice.407.mcz

commits-2
Nicolas Cellier uploaded a new version of Graphics to project The Inbox:
http://source.squeak.org/inbox/Graphics-nice.407.mcz

==================== Summary ====================

Name: Graphics-nice.407
Author: nice
Time: 16 May 2019, 1:01:07.687487 pm
UUID: 0c370e95-c3cf-5e44-9eb5-b81fb1ebf424
Ancestors: Graphics-mt.406

I see that Marcel used something like
https://gist.github.com/haggen/c91ed87700e5971f6fc6

I propose to reduce crayon shades overlapping by adopting different references

blueberry
        (Encycolorpedia) https://encycolorpedia.com/4f86f7
        (Crayola) https://en.wikipedia.org/wiki/List_of_Crayola_crayon_colors
ice (Corel ice blue) https://en.wikipedia.org/wiki/Shades_of_blue#Ice_blue
lemon
        (Encycolorpedia lemon) https://encycolorpedia.com/fff700
        (Encycolorpedia lemon yellow) https://en.wikipedia.org/wiki/Lemon_(color)#Lemon_yellow
        (Crayola lemon) https://en.wikipedia.org/wiki/Shades_of_yellow#Lemon
licorice (Crayola-Encycolorpedia) https://en.wikipedia.org/wiki/Shades_of_black#Licorice
snow
        (Encycolorpedia) https://encycolorpedia.com/fffafa
        (X11) https://en.wikipedia.org/wiki/Shades_of_white#Snow
spring (X11 spring green)  https://en.wikipedia.org/wiki/Spring_green
turquoise (X11-Encycolorpedia) https://en.wikipedia.org/wiki/Shades_of_cyan#Turquoise

Or should we have sort of factories?
(Color x11 turquoise vs Color macCrayon turquoise)

Of course, it opens some sort of big can:
https://encycolorpedia.com/named
https://en.wikipedia.org/wiki/X11_color_names
https://en.wikipedia.org/wiki/List_of_colors_(compact)

=============== Diff against Graphics-mt.406 ===============

Item was changed:
  ----- Method: Color class>>blueberry (in category 'named colors - crayons') -----
  blueberry
 
+ ^ Color fromString: '#4F86F7'!
- ^ Color r: 0.0 g: 0.0 b: 1.0!

Item was changed:
  ----- Method: Color class>>ice (in category 'named colors - crayons') -----
  ice
 
+ ^ Color fromString: '#99FFFF'!
- ^ Color r: 102/255 g: 1.0 b: 1.0!

Item was changed:
  ----- Method: Color class>>lemon (in category 'named colors - crayons') -----
  lemon
 
+ ^ Color fromString: '#FFF700'!
- ^ Color r: 1.0 g: 1.0 b: 0.0!

Item was changed:
  ----- Method: Color class>>licorice (in category 'named colors - crayons') -----
  licorice
 
+ ^ Color fromString: '#1A1110'!
- ^ Color r: 0.0 g: 0.0 b: 0.0!

Item was changed:
  ----- Method: Color class>>snow (in category 'named colors - crayons') -----
  snow
 
+ ^ self fromString: '#FFFAFA'!
- ^ Color r: 1.0 g: 1.0 b: 1.0!

Item was changed:
  ----- Method: Color class>>spring (in category 'named colors - crayons') -----
  spring
 
+ ^ self fromString: '#00FF7F'!
- ^ Color r: 0.0 g: 1.0 b: 0.0!

Item was changed:
  ----- Method: Color class>>turquoise (in category 'named colors - crayons') -----
  turquoise
 
+ ^ self fromString: '#40E0D0'!
- ^ Color r: 0.0 g: 1.0 b: 1.0!


Reply | Threaded
Open this post in threaded view
|

Re: The Inbox: Graphics-nice.407.mcz

Tobias Pape
Hi


> On 16.05.2019, at 13:02, [hidden email] wrote:
>
> Nicolas Cellier uploaded a new version of Graphics to project The Inbox:
> http://source.squeak.org/inbox/Graphics-nice.407.mcz
>
> ==================== Summary ====================
>
> Name: Graphics-nice.407
> Author: nice
> Time: 16 May 2019, 1:01:07.687487 pm
> UUID: 0c370e95-c3cf-5e44-9eb5-b81fb1ebf424
> Ancestors: Graphics-mt.406
>
> I see that Marcel used something like
> https://gist.github.com/haggen/c91ed87700e5971f6fc6

Marcel's match the "current"  (10.12+)  macOS "crayons" (see attachment)
The previous versions matched the pre-10.12 Mac OS X crayons.

I think its ok not to use the more "official" ones as they never were

>
> I propose to reduce crayon shades overlapping by adopting different references
>
> blueberry
> (Encycolorpedia) https://encycolorpedia.com/4f86f7
> (Crayola) https://en.wikipedia.org/wiki/List_of_Crayola_crayon_colors
> ice (Corel ice blue) https://en.wikipedia.org/wiki/Shades_of_blue#Ice_blue
> lemon
> (Encycolorpedia lemon) https://encycolorpedia.com/fff700
> (Encycolorpedia lemon yellow) https://en.wikipedia.org/wiki/Lemon_(color)#Lemon_yellow
> (Crayola lemon) https://en.wikipedia.org/wiki/Shades_of_yellow#Lemon
> licorice (Crayola-Encycolorpedia) https://en.wikipedia.org/wiki/Shades_of_black#Licorice
> snow
> (Encycolorpedia) https://encycolorpedia.com/fffafa
> (X11) https://en.wikipedia.org/wiki/Shades_of_white#Snow
> spring (X11 spring green)  https://en.wikipedia.org/wiki/Spring_green
> turquoise (X11-Encycolorpedia) https://en.wikipedia.org/wiki/Shades_of_cyan#Turquoise
>
> Or should we have sort of factories?
> (Color x11 turquoise vs Color macCrayon turquoise)

Thats also a variant.

There's also the way the LaTeX xcolor package is doing things (basically, different spellings)
        http://texdoc.net/texmf-dist/doc/latex/xcolor/xcolor.pdf
(examples at http://www.ukern.de/tex/chroma.html#Download)

Best regards
        -Tobias

>
> Of course, it opens some sort of big can:
> https://encycolorpedia.com/named
> https://en.wikipedia.org/wiki/X11_color_names
> https://en.wikipedia.org/wiki/List_of_colors_(compact)
>
> =============== Diff against Graphics-mt.406 ===============
>
> Item was changed:
>  ----- Method: Color class>>blueberry (in category 'named colors - crayons') -----
>  blueberry
>
> + ^ Color fromString: '#4F86F7'!
> - ^ Color r: 0.0 g: 0.0 b: 1.0!
>
> Item was changed:
>  ----- Method: Color class>>ice (in category 'named colors - crayons') -----
>  ice
>
> + ^ Color fromString: '#99FFFF'!
> - ^ Color r: 102/255 g: 1.0 b: 1.0!
>
> Item was changed:
>  ----- Method: Color class>>lemon (in category 'named colors - crayons') -----
>  lemon
>
> + ^ Color fromString: '#FFF700'!
> - ^ Color r: 1.0 g: 1.0 b: 0.0!
>
> Item was changed:
>  ----- Method: Color class>>licorice (in category 'named colors - crayons') -----
>  licorice
>
> + ^ Color fromString: '#1A1110'!
> - ^ Color r: 0.0 g: 0.0 b: 0.0!
>
> Item was changed:
>  ----- Method: Color class>>snow (in category 'named colors - crayons') -----
>  snow
>
> + ^ self fromString: '#FFFAFA'!
> - ^ Color r: 1.0 g: 1.0 b: 1.0!
>
> Item was changed:
>  ----- Method: Color class>>spring (in category 'named colors - crayons') -----
>  spring
>
> + ^ self fromString: '#00FF7F'!
> - ^ Color r: 0.0 g: 1.0 b: 0.0!
>
> Item was changed:
>  ----- Method: Color class>>turquoise (in category 'named colors - crayons') -----
>  turquoise
>
> + ^ self fromString: '#40E0D0'!
> - ^ Color r: 0.0 g: 1.0 b: 1.0!
>
>



Reply | Threaded
Open this post in threaded view
|

Re: The Inbox: Graphics-nice.407.mcz

marcel.taeumel
In reply to this post by commits-2
Hi Nicolas,

it would be nice to see more named colors in the image. The user-interface themes introduce color names for Monokai and Solarized etc. I sneaked some crayons into Color itself. I think that "Color crayon blueberry" would be acceptable to hide a factory or something similar.

However:

[Color fromString: '#99FFFF'] bench '481,000 per second. 2.08 microseconds per run.'
[Color r: 102/255 g: 1.0 b: 1.0] bench '2,520,000 per second. 397 nanoseconds per run.'

;-)

Best,
Marcel

Am 16.05.2019 13:02:44 schrieb [hidden email] <[hidden email]>:

Nicolas Cellier uploaded a new version of Graphics to project The Inbox:
http://source.squeak.org/inbox/Graphics-nice.407.mcz

==================== Summary ====================

Name: Graphics-nice.407
Author: nice
Time: 16 May 2019, 1:01:07.687487 pm
UUID: 0c370e95-c3cf-5e44-9eb5-b81fb1ebf424
Ancestors: Graphics-mt.406

I see that Marcel used something like
https://gist.github.com/haggen/c91ed87700e5971f6fc6

I propose to reduce crayon shades overlapping by adopting different references

blueberry
(Encycolorpedia) https://encycolorpedia.com/4f86f7
(Crayola) https://en.wikipedia.org/wiki/List_of_Crayola_crayon_colors
ice (Corel ice blue) https://en.wikipedia.org/wiki/Shades_of_blue#Ice_blue
lemon
(Encycolorpedia lemon) https://encycolorpedia.com/fff700
(Encycolorpedia lemon yellow) https://en.wikipedia.org/wiki/Lemon_(color)#Lemon_yellow
(Crayola lemon) https://en.wikipedia.org/wiki/Shades_of_yellow#Lemon
licorice (Crayola-Encycolorpedia) https://en.wikipedia.org/wiki/Shades_of_black#Licorice
snow
(Encycolorpedia) https://encycolorpedia.com/fffafa
(X11) https://en.wikipedia.org/wiki/Shades_of_white#Snow
spring (X11 spring green) https://en.wikipedia.org/wiki/Spring_green
turquoise (X11-Encycolorpedia) https://en.wikipedia.org/wiki/Shades_of_cyan#Turquoise

Or should we have sort of factories?
(Color x11 turquoise vs Color macCrayon turquoise)

Of course, it opens some sort of big can:
https://encycolorpedia.com/named
https://en.wikipedia.org/wiki/X11_color_names
https://en.wikipedia.org/wiki/List_of_colors_(compact)

=============== Diff against Graphics-mt.406 ===============

Item was changed:
----- Method: Color class>>blueberry (in category 'named colors - crayons') -----
blueberry

+ ^ Color fromString: '#4F86F7'!
- ^ Color r: 0.0 g: 0.0 b: 1.0!

Item was changed:
----- Method: Color class>>ice (in category 'named colors - crayons') -----
ice

+ ^ Color fromString: '#99FFFF'!
- ^ Color r: 102/255 g: 1.0 b: 1.0!

Item was changed:
----- Method: Color class>>lemon (in category 'named colors - crayons') -----
lemon

+ ^ Color fromString: '#FFF700'!
- ^ Color r: 1.0 g: 1.0 b: 0.0!

Item was changed:
----- Method: Color class>>licorice (in category 'named colors - crayons') -----
licorice

+ ^ Color fromString: '#1A1110'!
- ^ Color r: 0.0 g: 0.0 b: 0.0!

Item was changed:
----- Method: Color class>>snow (in category 'named colors - crayons') -----
snow

+ ^ self fromString: '#FFFAFA'!
- ^ Color r: 1.0 g: 1.0 b: 1.0!

Item was changed:
----- Method: Color class>>spring (in category 'named colors - crayons') -----
spring

+ ^ self fromString: '#00FF7F'!
- ^ Color r: 0.0 g: 1.0 b: 0.0!

Item was changed:
----- Method: Color class>>turquoise (in category 'named colors - crayons') -----
turquoise

+ ^ self fromString: '#40E0D0'!
- ^ Color r: 0.0 g: 1.0 b: 1.0!




Reply | Threaded
Open this post in threaded view
|

Re: The Inbox: Graphics-nice.407.mcz

Nicolas Cellier


Le jeu. 16 mai 2019 à 13:54, Marcel Taeumel <[hidden email]> a écrit :
Hi Nicolas,

it would be nice to see more named colors in the image. The user-interface themes introduce color names for Monokai and Solarized etc. I sneaked some crayons into Color itself. I think that "Color crayon blueberry" would be acceptable to hide a factory or something similar.

However:

[Color fromString: '#99FFFF'] bench '481,000 per second. 2.08 microseconds per run.'
[Color r: 102/255 g: 1.0 b: 1.0] bench '2,520,000 per second. 397 nanoseconds per run.'

;-)

Best,
Marcel

Yes,
I also forgot two conflicts

(Color colorNames reject: [:sym | (Color perform: sym) name = sym])
collect: [:sym | sym -> (Color perform: sym) name].
 {#cantaloupe->#lightOrange . #maraschino->#red}

For having more colorNames, it's better to change ColorName>>#name strategy first

Am 16.05.2019 13:02:44 schrieb [hidden email] <[hidden email]>:

Nicolas Cellier uploaded a new version of Graphics to project The Inbox:
http://source.squeak.org/inbox/Graphics-nice.407.mcz

==================== Summary ====================

Name: Graphics-nice.407
Author: nice
Time: 16 May 2019, 1:01:07.687487 pm
UUID: 0c370e95-c3cf-5e44-9eb5-b81fb1ebf424
Ancestors: Graphics-mt.406

I see that Marcel used something like
https://gist.github.com/haggen/c91ed87700e5971f6fc6

I propose to reduce crayon shades overlapping by adopting different references

blueberry
(Encycolorpedia) https://encycolorpedia.com/4f86f7
(Crayola) https://en.wikipedia.org/wiki/List_of_Crayola_crayon_colors
ice (Corel ice blue) https://en.wikipedia.org/wiki/Shades_of_blue#Ice_blue
lemon
(Encycolorpedia lemon) https://encycolorpedia.com/fff700
(Encycolorpedia lemon yellow) https://en.wikipedia.org/wiki/Lemon_(color)#Lemon_yellow
(Crayola lemon) https://en.wikipedia.org/wiki/Shades_of_yellow#Lemon
licorice (Crayola-Encycolorpedia) https://en.wikipedia.org/wiki/Shades_of_black#Licorice
snow
(Encycolorpedia) https://encycolorpedia.com/fffafa
(X11) https://en.wikipedia.org/wiki/Shades_of_white#Snow
spring (X11 spring green) https://en.wikipedia.org/wiki/Spring_green
turquoise (X11-Encycolorpedia) https://en.wikipedia.org/wiki/Shades_of_cyan#Turquoise

Or should we have sort of factories?
(Color x11 turquoise vs Color macCrayon turquoise)

Of course, it opens some sort of big can:
https://encycolorpedia.com/named
https://en.wikipedia.org/wiki/X11_color_names
https://en.wikipedia.org/wiki/List_of_colors_(compact)

=============== Diff against Graphics-mt.406 ===============

Item was changed:
----- Method: Color class>>blueberry (in category 'named colors - crayons') -----
blueberry

+ ^ Color fromString: '#4F86F7'!
- ^ Color r: 0.0 g: 0.0 b: 1.0!

Item was changed:
----- Method: Color class>>ice (in category 'named colors - crayons') -----
ice

+ ^ Color fromString: '#99FFFF'!
- ^ Color r: 102/255 g: 1.0 b: 1.0!

Item was changed:
----- Method: Color class>>lemon (in category 'named colors - crayons') -----
lemon

+ ^ Color fromString: '#FFF700'!
- ^ Color r: 1.0 g: 1.0 b: 0.0!

Item was changed:
----- Method: Color class>>licorice (in category 'named colors - crayons') -----
licorice

+ ^ Color fromString: '#1A1110'!
- ^ Color r: 0.0 g: 0.0 b: 0.0!

Item was changed:
----- Method: Color class>>snow (in category 'named colors - crayons') -----
snow

+ ^ self fromString: '#FFFAFA'!
- ^ Color r: 1.0 g: 1.0 b: 1.0!

Item was changed:
----- Method: Color class>>spring (in category 'named colors - crayons') -----
spring

+ ^ self fromString: '#00FF7F'!
- ^ Color r: 0.0 g: 1.0 b: 0.0!

Item was changed:
----- Method: Color class>>turquoise (in category 'named colors - crayons') -----
turquoise

+ ^ self fromString: '#40E0D0'!
- ^ Color r: 0.0 g: 1.0 b: 1.0!





Reply | Threaded
Open this post in threaded view
|

Re: The Inbox: Graphics-nice.407.mcz

marcel.taeumel
Hi Nicolas,

considering the factory approach (e.g., "Color crayon blueberry"), you could easily produce NamedColor (as subclass of Color with a name). Not sure about adding a name directly to Color, though....

Best,
Marcel

Am 16.05.2019 14:20:24 schrieb Nicolas Cellier <[hidden email]>:



Le jeu. 16 mai 2019 à 13:54, Marcel Taeumel <[hidden email]> a écrit :
Hi Nicolas,

it would be nice to see more named colors in the image. The user-interface themes introduce color names for Monokai and Solarized etc. I sneaked some crayons into Color itself. I think that "Color crayon blueberry" would be acceptable to hide a factory or something similar.

However:

[Color fromString: '#99FFFF'] bench '481,000 per second. 2.08 microseconds per run.'
[Color r: 102/255 g: 1.0 b: 1.0] bench '2,520,000 per second. 397 nanoseconds per run.'

;-)

Best,
Marcel

Yes,
I also forgot two conflicts

(Color colorNames reject: [:sym | (Color perform: sym) name = sym])
collect: [:sym | sym -> (Color perform: sym) name].
 {#cantaloupe->#lightOrange . #maraschino->#red}

For having more colorNames, it's better to change ColorName>>#name strategy first

Am 16.05.2019 13:02:44 schrieb [hidden email] <[hidden email]>:

Nicolas Cellier uploaded a new version of Graphics to project The Inbox:
http://source.squeak.org/inbox/Graphics-nice.407.mcz

==================== Summary ====================

Name: Graphics-nice.407
Author: nice
Time: 16 May 2019, 1:01:07.687487 pm
UUID: 0c370e95-c3cf-5e44-9eb5-b81fb1ebf424
Ancestors: Graphics-mt.406

I see that Marcel used something like
https://gist.github.com/haggen/c91ed87700e5971f6fc6

I propose to reduce crayon shades overlapping by adopting different references

blueberry
(Encycolorpedia) https://encycolorpedia.com/4f86f7
(Crayola) https://en.wikipedia.org/wiki/List_of_Crayola_crayon_colors
ice (Corel ice blue) https://en.wikipedia.org/wiki/Shades_of_blue#Ice_blue
lemon
(Encycolorpedia lemon) https://encycolorpedia.com/fff700
(Encycolorpedia lemon yellow) https://en.wikipedia.org/wiki/Lemon_(color)#Lemon_yellow
(Crayola lemon) https://en.wikipedia.org/wiki/Shades_of_yellow#Lemon
licorice (Crayola-Encycolorpedia) https://en.wikipedia.org/wiki/Shades_of_black#Licorice
snow
(Encycolorpedia) https://encycolorpedia.com/fffafa
(X11) https://en.wikipedia.org/wiki/Shades_of_white#Snow
spring (X11 spring green) https://en.wikipedia.org/wiki/Spring_green
turquoise (X11-Encycolorpedia) https://en.wikipedia.org/wiki/Shades_of_cyan#Turquoise

Or should we have sort of factories?
(Color x11 turquoise vs Color macCrayon turquoise)

Of course, it opens some sort of big can:
https://encycolorpedia.com/named
https://en.wikipedia.org/wiki/X11_color_names
https://en.wikipedia.org/wiki/List_of_colors_(compact)

=============== Diff against Graphics-mt.406 ===============

Item was changed:
----- Method: Color class>>blueberry (in category 'named colors - crayons') -----
blueberry

+ ^ Color fromString: '#4F86F7'!
- ^ Color r: 0.0 g: 0.0 b: 1.0!

Item was changed:
----- Method: Color class>>ice (in category 'named colors - crayons') -----
ice

+ ^ Color fromString: '#99FFFF'!
- ^ Color r: 102/255 g: 1.0 b: 1.0!

Item was changed:
----- Method: Color class>>lemon (in category 'named colors - crayons') -----
lemon

+ ^ Color fromString: '#FFF700'!
- ^ Color r: 1.0 g: 1.0 b: 0.0!

Item was changed:
----- Method: Color class>>licorice (in category 'named colors - crayons') -----
licorice

+ ^ Color fromString: '#1A1110'!
- ^ Color r: 0.0 g: 0.0 b: 0.0!

Item was changed:
----- Method: Color class>>snow (in category 'named colors - crayons') -----
snow

+ ^ self fromString: '#FFFAFA'!
- ^ Color r: 1.0 g: 1.0 b: 1.0!

Item was changed:
----- Method: Color class>>spring (in category 'named colors - crayons') -----
spring

+ ^ self fromString: '#00FF7F'!
- ^ Color r: 0.0 g: 1.0 b: 0.0!

Item was changed:
----- Method: Color class>>turquoise (in category 'named colors - crayons') -----
turquoise

+ ^ self fromString: '#40E0D0'!
- ^ Color r: 0.0 g: 1.0 b: 1.0!





Reply | Threaded
Open this post in threaded view
|

Re: The Inbox: Graphics-nice.407.mcz

Nicolas Cellier
Hi Marcel,
I prefer to use a map (Dictionary)

Le jeu. 16 mai 2019 à 14:50, Marcel Taeumel <[hidden email]> a écrit :
Hi Nicolas,

considering the factory approach (e.g., "Color crayon blueberry"), you could easily produce NamedColor (as subclass of Color with a name). Not sure about adding a name directly to Color, though....

Best,
Marcel

Am 16.05.2019 14:20:24 schrieb Nicolas Cellier <[hidden email]>:



Le jeu. 16 mai 2019 à 13:54, Marcel Taeumel <[hidden email]> a écrit :
Hi Nicolas,

it would be nice to see more named colors in the image. The user-interface themes introduce color names for Monokai and Solarized etc. I sneaked some crayons into Color itself. I think that "Color crayon blueberry" would be acceptable to hide a factory or something similar.

However:

[Color fromString: '#99FFFF'] bench '481,000 per second. 2.08 microseconds per run.'
[Color r: 102/255 g: 1.0 b: 1.0] bench '2,520,000 per second. 397 nanoseconds per run.'

;-)

Best,
Marcel

Yes,
I also forgot two conflicts

(Color colorNames reject: [:sym | (Color perform: sym) name = sym])
collect: [:sym | sym -> (Color perform: sym) name].
 {#cantaloupe->#lightOrange . #maraschino->#red}

For having more colorNames, it's better to change ColorName>>#name strategy first

Am 16.05.2019 13:02:44 schrieb [hidden email] <[hidden email]>:

Nicolas Cellier uploaded a new version of Graphics to project The Inbox:
http://source.squeak.org/inbox/Graphics-nice.407.mcz

==================== Summary ====================

Name: Graphics-nice.407
Author: nice
Time: 16 May 2019, 1:01:07.687487 pm
UUID: 0c370e95-c3cf-5e44-9eb5-b81fb1ebf424
Ancestors: Graphics-mt.406

I see that Marcel used something like
https://gist.github.com/haggen/c91ed87700e5971f6fc6

I propose to reduce crayon shades overlapping by adopting different references

blueberry
(Encycolorpedia) https://encycolorpedia.com/4f86f7
(Crayola) https://en.wikipedia.org/wiki/List_of_Crayola_crayon_colors
ice (Corel ice blue) https://en.wikipedia.org/wiki/Shades_of_blue#Ice_blue
lemon
(Encycolorpedia lemon) https://encycolorpedia.com/fff700
(Encycolorpedia lemon yellow) https://en.wikipedia.org/wiki/Lemon_(color)#Lemon_yellow
(Crayola lemon) https://en.wikipedia.org/wiki/Shades_of_yellow#Lemon
licorice (Crayola-Encycolorpedia) https://en.wikipedia.org/wiki/Shades_of_black#Licorice
snow
(Encycolorpedia) https://encycolorpedia.com/fffafa
(X11) https://en.wikipedia.org/wiki/Shades_of_white#Snow
spring (X11 spring green) https://en.wikipedia.org/wiki/Spring_green
turquoise (X11-Encycolorpedia) https://en.wikipedia.org/wiki/Shades_of_cyan#Turquoise

Or should we have sort of factories?
(Color x11 turquoise vs Color macCrayon turquoise)

Of course, it opens some sort of big can:
https://encycolorpedia.com/named
https://en.wikipedia.org/wiki/X11_color_names
https://en.wikipedia.org/wiki/List_of_colors_(compact)

=============== Diff against Graphics-mt.406 ===============

Item was changed:
----- Method: Color class>>blueberry (in category 'named colors - crayons') -----
blueberry

+ ^ Color fromString: '#4F86F7'!
- ^ Color r: 0.0 g: 0.0 b: 1.0!

Item was changed:
----- Method: Color class>>ice (in category 'named colors - crayons') -----
ice

+ ^ Color fromString: '#99FFFF'!
- ^ Color r: 102/255 g: 1.0 b: 1.0!

Item was changed:
----- Method: Color class>>lemon (in category 'named colors - crayons') -----
lemon

+ ^ Color fromString: '#FFF700'!
- ^ Color r: 1.0 g: 1.0 b: 0.0!

Item was changed:
----- Method: Color class>>licorice (in category 'named colors - crayons') -----
licorice

+ ^ Color fromString: '#1A1110'!
- ^ Color r: 0.0 g: 0.0 b: 0.0!

Item was changed:
----- Method: Color class>>snow (in category 'named colors - crayons') -----
snow

+ ^ self fromString: '#FFFAFA'!
- ^ Color r: 1.0 g: 1.0 b: 1.0!

Item was changed:
----- Method: Color class>>spring (in category 'named colors - crayons') -----
spring

+ ^ self fromString: '#00FF7F'!
- ^ Color r: 0.0 g: 1.0 b: 0.0!

Item was changed:
----- Method: Color class>>turquoise (in category 'named colors - crayons') -----
turquoise

+ ^ self fromString: '#40E0D0'!
- ^ Color r: 0.0 g: 1.0 b: 1.0!






Reply | Threaded
Open this post in threaded view
|

Re: The Inbox: Graphics-nice.407.mcz

Stéphane Rollandin
In reply to this post by marcel.taeumel
> it would be nice to see more named colors in the image.

I have provided a package adding about 150 color names for ages (circa
2010). It is there:

http://map.squeak.org/account/package/4fcb1d4d-ff16-46e2-bfa8-a7410f0cd5a3

Stef

Reply | Threaded
Open this post in threaded view
|

Re: The Inbox: Graphics-nice.407.mcz

Stéphane Rollandin

> I have provided a package adding about 150 color names

... I meant *1500* color names

Stef

Reply | Threaded
Open this post in threaded view
|

Re: The Inbox: Graphics-nice.407.mcz

Stéphane Rollandin
In reply to this post by Stéphane Rollandin
Le 16/05/2019 à 17:33, Chris Cunningham a écrit :
> Hi.  Could you provide the package name (not the gobbledegook that
> doesn't stick around and doesn't work later)?

Yeah, bad link, thanks for pointing that out...

It's Colors on SqueakMap

Stef