first commit
							
								
								
									
										8
									
								
								README
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,8 @@ | ||||
| This is a pretty extensive dyes mod, which has the sole purpose of  | ||||
| supplying a complete set of colors and a few greys, all of which are  | ||||
| intended to be used by other mods as needed to make colored objects.  It  | ||||
| uses Ironzorg's Flowers mod as the source of the actual pigments.   | ||||
| Flowers can be had from one of the links below, or as part of neko259's  | ||||
| Nature Pack. | ||||
|  | ||||
| In total, this mod provides [b]77[/b] colors (including greys) at present. | ||||
							
								
								
									
										90
									
								
								colors.txt
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,90 @@ | ||||
|  | ||||
|  | ||||
| Full-saturation colors: | ||||
| ----------------------- | ||||
|  | ||||
| dark aqua                          0, 84, 42  unifieddyes_dark_aqua.png | ||||
| dark blue                          0,  0, 84  unifieddyes_dark_blue.png | ||||
| dark cyan                          0, 84, 83  unifieddyes_dark_cyan.png | ||||
| dark green                         0, 84,  0  unifieddyes_dark_green.png | ||||
| dark lime                         43, 84,  0  unifieddyes_dark_lime.png | ||||
| dark magenta                      84,  0, 83  unifieddyes_dark_magenta.png | ||||
| dark orange                       84, 42,  0  unifieddyes_dark_orange.png | ||||
| dark red                          84,  0,  0  unifieddyes_dark_red.png | ||||
| dark redviolet                    84,  0, 42  unifieddyes_dark_redviolet.png | ||||
| dark skyblue                       0, 42, 84  unifieddyes_dark_skyblue.png | ||||
| dark violet                       43,  0, 84  unifieddyes_dark_violet.png | ||||
| dark yellow                       84, 83,  0  unifieddyes_dark_yellow.png | ||||
| medium aqua                        0,169, 84  unifieddyes_medium_aqua.png | ||||
| medium blue                        0,  0,169  unifieddyes_medium_blue.png | ||||
| medium cyan                        0,169,167  unifieddyes_medium_cyan.png | ||||
| medium green                       0,169,  0  unifieddyes_medium_green.png | ||||
| medium lime                       87,169,  0  unifieddyes_medium_lime.png | ||||
| medium magenta                   169,  0,167  unifieddyes_medium_magenta.png | ||||
| medium orange                    169, 84,  0  unifieddyes_medium_orange.png | ||||
| medium red                       168,  0,  0  unifieddyes_medium_red.png | ||||
| medium redviolet                 169,  0, 84  unifieddyes_medium_redviolet.png | ||||
| medium skyblue                     0, 84,169  unifieddyes_medium_skyblue.png | ||||
| medium violet                     87,  0,169  unifieddyes_medium_violet.png | ||||
| medium yellow                    169,167,  0  unifieddyes_medium_yellow.png | ||||
| aqua                               1,255,127  unifieddyes_aqua.png | ||||
| blue                               1,  1,255  unifieddyes_blue.png | ||||
| cyan                               1,255,252  unifieddyes_cyan.png | ||||
| green                              1,255,  1  unifieddyes_green.png | ||||
| lime                             132,255,  1  unifieddyes_lime.png | ||||
| magenta                          255,  1,252  unifieddyes_magenta.png | ||||
| orange                           255,127,  1  unifieddyes_orange.png | ||||
| red                              255,  0,  0  unifieddyes_red.png | ||||
| redviolet                        255,  1,127  unifieddyes_redviolet.png | ||||
| skyblue                            1,127,255  unifieddyes_skyblue.png | ||||
| violet                           132,  1,255  unifieddyes_violet.png | ||||
| yellow                           255,252,  1  unifieddyes_yellow.png | ||||
|  | ||||
| Low-saturation colors: | ||||
| ---------------------- | ||||
|  | ||||
| dark aqua 50% saturation          21, 63, 42  unifieddyes_dark_aqua_s50.png | ||||
| dark blue 50% saturation          21, 21, 63  unifieddyes_dark_blue_s50.png | ||||
| dark cyan 50% saturation          21, 63, 63  unifieddyes_dark_cyan_s50.png | ||||
| dark green 50% saturation         21, 63, 21  unifieddyes_dark_green_s50.png | ||||
| dark lime 50% saturation          43, 63, 21  unifieddyes_dark_lime_s50.png | ||||
| dark magenta 50% saturation       63, 21, 63  unifieddyes_dark_magenta_s50.png | ||||
| dark orange 50% saturation        63, 42, 21  unifieddyes_dark_orange_s50.png | ||||
| dark red 50% saturation           63, 21, 21  unifieddyes_dark_red_s50.png | ||||
| dark redviolet 50% saturation     63, 21, 42  unifieddyes_dark_redviolet_s50.png | ||||
| dark skyblue 50% saturation       21, 42, 63  unifieddyes_dark_skyblue_s50.png | ||||
| dark violet 50% saturation        43, 21, 63  unifieddyes_dark_violet_s50.png | ||||
| dark yellow 50% saturation        63, 63, 21  unifieddyes_dark_yellow_s50.png | ||||
| medium aqua 50% saturation        42,126, 84  unifieddyes_medium_aqua_s50.png | ||||
| medium blue 50% saturation        42, 42,126  unifieddyes_medium_blue_s50.png | ||||
| medium cyan 50% saturation        42,126,126  unifieddyes_medium_cyan_s50.png | ||||
| medium green 50% saturation       42,126, 42  unifieddyes_medium_green_s50.png | ||||
| medium lime 50% saturation        86,126, 42  unifieddyes_medium_lime_s50.png | ||||
| medium magenta 50% saturation    126, 42,126  unifieddyes_medium_magenta_s50.png | ||||
| medium orange 50% saturation     126, 84, 42  unifieddyes_medium_orange_s50.png | ||||
| medium red 50% saturation        127, 42, 42  unifieddyes_medium_red_s50.png | ||||
| medium redviolet 50% saturation  126, 42, 84  unifieddyes_medium_redviolet_s50.png | ||||
| medium skyblue 50% saturation     42, 84,126  unifieddyes_medium_skyblue_s50.png | ||||
| medium violet 50% saturation      86, 42,126  unifieddyes_medium_violet_s50.png | ||||
| medium yellow 50% saturation     126,126, 42  unifieddyes_medium_yellow_s50.png | ||||
| aqua 50% saturation               65,191,127  unifieddyes_aqua_s50.png | ||||
| blue 50% saturation               65, 65,191  unifieddyes_blue_s50.png | ||||
| cyan 50% saturation               65,191,190  unifieddyes_cyan_s50.png | ||||
| green 50% saturation              65,191, 65  unifieddyes_green_s50.png | ||||
| lime 50% saturation              130,191, 65  unifieddyes_lime_s50.png | ||||
| magenta 50% saturation           191, 65,190  unifieddyes_magenta_s50.png | ||||
| orange 50% saturation            191,127, 65  unifieddyes_orange_s50.png | ||||
| red 50% saturation               192, 64, 64  unifieddyes_red_s50.png | ||||
| redviolet 50% saturation         191, 65,127  unifieddyes_redviolet_s50.png | ||||
| skyblue 50% saturation            65,127,191  unifieddyes_skyblue_s50.png | ||||
| violet 50% saturation            130, 65,191  unifieddyes_violet_s50.png | ||||
| yellow 50% saturation            191,190, 65  unifieddyes_yellow_s50.png | ||||
|  | ||||
| Greyscale: | ||||
| ---------- | ||||
|  | ||||
| black                              0,  0,  0  unifieddyes_black.png | ||||
| dark grey                         64, 64, 64  unifieddyes_darkgrey_paint.png | ||||
| medium grey                      128,128,128  unifieddyes_grey_paint.png | ||||
| light grey                       192,192,192  unifieddyes_lightgrey_paint.png | ||||
| white                            255,255,255  unifieddyes_white_paint.png | ||||
							
								
								
									
										3
									
								
								depends.txt
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,3 @@ | ||||
| default | ||||
| flowers | ||||
| bucket | ||||
							
								
								
									
										417
									
								
								init.lua
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,417 @@ | ||||
| -- Unified Dyes Mod by Vanessa Ezekowitz  ~~  2012-07-08 | ||||
| -- | ||||
| -- License: GPL | ||||
| -- | ||||
| -- This mod depends on ironzorg's flowers mod | ||||
| -- | ||||
|  | ||||
| --================================================================= | ||||
| -- Smelting/crafting recipes needed to generate various base colors | ||||
| -- (the register_craftitem functions are in the generate-the-rest | ||||
| -- loop below the base colors). | ||||
|  | ||||
| ----------------- | ||||
| -- Primary colors | ||||
|  | ||||
| -- Red (rose) | ||||
|  | ||||
| minetest.register_craft({ | ||||
|         type = "cooking", | ||||
|         output = "unifieddyes:red 2", | ||||
|         recipe = "flowers:flower_rose", | ||||
| }) | ||||
|  | ||||
| -- Green (cactus) | ||||
|  | ||||
| minetest.register_craft({ | ||||
|         type = "cooking", | ||||
|         output = "unifieddyes:green 2", | ||||
|         recipe = "default:cactus", | ||||
| }) | ||||
|  | ||||
| minetest.register_craft({ | ||||
|         type = "cooking", | ||||
|         output = "unifieddyes:green 2", | ||||
|         recipe = "flowers:flower_waterlily", | ||||
| }) | ||||
|  | ||||
| minetest.register_craft( { | ||||
|        type = "shapeless", | ||||
|        output = "unifieddyes:green 2", | ||||
|        recipe = { | ||||
|                "unifieddyes:blue", | ||||
|                "unifieddyes:yellow", | ||||
| 		}, | ||||
| }) | ||||
|  | ||||
| -- Blue (Viola) | ||||
|  | ||||
| minetest.register_craft({ | ||||
|         type = "cooking", | ||||
|         output = "unifieddyes:blue 2", | ||||
|         recipe = "flowers:flower_viola", | ||||
| }) | ||||
|  | ||||
|  | ||||
| ------------------- | ||||
| -- Secondary colors | ||||
|  | ||||
| -- Cyan | ||||
|  | ||||
| minetest.register_craft( { | ||||
|        type = "shapeless", | ||||
|        output = "unifieddyes:cyan 2", | ||||
|        recipe = { | ||||
|                "unifieddyes:blue", | ||||
|                "unifieddyes:green", | ||||
| 		}, | ||||
| }) | ||||
|  | ||||
| -- Magenta | ||||
|  | ||||
| minetest.register_craft( { | ||||
|        type = "shapeless", | ||||
|        output = "unifieddyes:magenta 2", | ||||
|        recipe = { | ||||
|                "unifieddyes:blue", | ||||
|                "unifieddyes:red", | ||||
| 		}, | ||||
| }) | ||||
|  | ||||
| -- Yellow (yellow dandelion) | ||||
|  | ||||
| minetest.register_craft({ | ||||
|         type = "cooking", | ||||
|         output = "unifieddyes:yellow 2", | ||||
|         recipe = "flowers:flower_dandelion_yellow", | ||||
| }) | ||||
|  | ||||
|  | ||||
| ------------------ | ||||
| -- Tertiary colors | ||||
|  | ||||
| -- Orange (tulip) | ||||
|  | ||||
| minetest.register_craft({ | ||||
|         type = "cooking", | ||||
|         output = "unifieddyes:orange 2", | ||||
|         recipe = "flowers:flower_tulip", | ||||
| }) | ||||
|  | ||||
| minetest.register_craft( { | ||||
|        type = "shapeless", | ||||
|        output = "unifieddyes:orange 2", | ||||
|        recipe = { | ||||
|                "unifieddyes:yellow", | ||||
|                "unifieddyes:red", | ||||
| 		}, | ||||
| }) | ||||
|  | ||||
|  | ||||
| -- Lime | ||||
|  | ||||
| minetest.register_craft( { | ||||
|        type = "shapeless", | ||||
|        output = "unifieddyes:lime 2", | ||||
|        recipe = { | ||||
|                "unifieddyes:yellow", | ||||
|                "unifieddyes:green", | ||||
| 		}, | ||||
| }) | ||||
|  | ||||
| -- Aqua | ||||
|  | ||||
| minetest.register_craft( { | ||||
|        type = "shapeless", | ||||
|        output = "unifieddyes:aqua 2", | ||||
|        recipe = { | ||||
|                "unifieddyes:cyan", | ||||
|                "unifieddyes:green", | ||||
| 		}, | ||||
| }) | ||||
|  | ||||
| -- Sky blue | ||||
|  | ||||
| minetest.register_craft( { | ||||
|        type = "shapeless", | ||||
|        output = "unifieddyes:skyblue 2", | ||||
|        recipe = { | ||||
|                "unifieddyes:cyan", | ||||
|                "unifieddyes:blue", | ||||
| 		}, | ||||
| }) | ||||
|  | ||||
| -- Violet | ||||
|  | ||||
| minetest.register_craft( { | ||||
|        type = "shapeless", | ||||
|        output = "unifieddyes:violet 2", | ||||
|        recipe = { | ||||
|                "unifieddyes:blue", | ||||
|                "unifieddyes:magenta", | ||||
| 		}, | ||||
| }) | ||||
|  | ||||
| minetest.register_craft( { | ||||
|        type = "shapeless", | ||||
|        output = "unifieddyes:violet 3", | ||||
|        recipe = { | ||||
|                "unifieddyes:blue", | ||||
|                "unifieddyes:blue", | ||||
|                "unifieddyes:red", | ||||
| 		}, | ||||
| }) | ||||
|  | ||||
|  | ||||
| -- Red-violet | ||||
|  | ||||
| minetest.register_craft( { | ||||
|        type = "shapeless", | ||||
|        output = "unifieddyes:redviolet 2", | ||||
|        recipe = { | ||||
|                "unifieddyes:red", | ||||
|                "unifieddyes:magenta", | ||||
| 		}, | ||||
| }) | ||||
|  | ||||
| ---------------------------- | ||||
| -- The 5 levels of greyscale | ||||
|  | ||||
| -- White paint | ||||
|  | ||||
| minetest.register_craftitem("unifieddyes:titanium_dioxide", { | ||||
|         description = "Titanium Dioxide Powder", | ||||
|         inventory_image = "unifieddyes_titanium_dioxide.png", | ||||
| }) | ||||
|  | ||||
| minetest.register_craft({ | ||||
|         type = "cooking", | ||||
|         output = "unifieddyes:titanium_dioxide 10", | ||||
|         recipe = "default:stone", | ||||
| }) | ||||
|  | ||||
| minetest.register_craft( { | ||||
|         type = "shapeless", | ||||
|         output = "unifieddyes:white_paint", | ||||
|         recipe = { | ||||
|                 "unifieddyes:titanium_dioxide", | ||||
|                 "bucket:bucket_water", | ||||
|                 "default:junglegrass", | ||||
|         }, | ||||
| }) | ||||
|  | ||||
| minetest.register_craftitem("unifieddyes:white_paint", { | ||||
|         description = "White Paint", | ||||
|         inventory_image = "unifieddyes_white_paint.png", | ||||
| }) | ||||
|  | ||||
|  | ||||
| -- Light grey paint | ||||
|  | ||||
| minetest.register_craft( { | ||||
|        type = "shapeless", | ||||
|        output = "unifieddyes:lightgrey_paint 3", | ||||
|        recipe = { | ||||
|                "unifieddyes:white_paint", | ||||
|                "unifieddyes:white_paint", | ||||
|                "unifieddyes:black", | ||||
| 		}, | ||||
| }) | ||||
|  | ||||
| minetest.register_craftitem("unifieddyes:lightgrey_paint", { | ||||
|         description = "Light grey paint", | ||||
|         inventory_image = "unifieddyes_lightgrey_paint.png", | ||||
| }) | ||||
|  | ||||
|  | ||||
| -- Medium grey paint | ||||
|  | ||||
| minetest.register_craft( { | ||||
|        type = "shapeless", | ||||
|        output = "unifieddyes:grey_paint 2", | ||||
|        recipe = { | ||||
|                "unifieddyes:white_paint", | ||||
|                "unifieddyes:black", | ||||
| 		}, | ||||
| }) | ||||
|  | ||||
| minetest.register_craftitem("unifieddyes:grey_paint", { | ||||
|         description = "Medium grey paint", | ||||
|         inventory_image = "unifieddyes_grey_paint.png", | ||||
| }) | ||||
|  | ||||
|  | ||||
| -- Dark grey paint | ||||
|  | ||||
| minetest.register_craft( { | ||||
|        type = "shapeless", | ||||
|        output = "unifieddyes:darkgrey_paint 3", | ||||
|        recipe = { | ||||
|                "unifieddyes:white_paint", | ||||
|                "unifieddyes:black", | ||||
|                "unifieddyes:black", | ||||
| 		}, | ||||
| }) | ||||
|  | ||||
| minetest.register_craftitem("unifieddyes:darkgrey_paint", { | ||||
|         description = "Dark grey paint", | ||||
|         inventory_image = "unifieddyes_darkgrey_paint.png", | ||||
| }) | ||||
|  | ||||
|  | ||||
| -- Black dye (coal) | ||||
|  | ||||
| minetest.register_craft({ | ||||
|         type = "cooking", | ||||
|         output = "unifieddyes:black 2", | ||||
|         recipe = "default:coal_lump", | ||||
| }) | ||||
|  | ||||
| minetest.register_craftitem("unifieddyes:black", { | ||||
| 	description = "Black Dye", | ||||
| 	inventory_image = "unifieddyes_black.png", | ||||
| }) | ||||
|  | ||||
|  | ||||
|  | ||||
| -- ================================================================= | ||||
|  | ||||
| -- Finally, generate all of additional variants of hue, saturation, and | ||||
| -- brightness from the above 12 base colors. | ||||
|  | ||||
| -- "s50" in a file/item name means "saturation: 50%". | ||||
| -- Brightness levels in the textures are 100%, 66% | ||||
| -- ("medium"), and 33% ("dark"). | ||||
|  | ||||
| HUES = { | ||||
| 	"red", | ||||
| 	"orange", | ||||
| 	"yellow", | ||||
| 	"lime", | ||||
| 	"green", | ||||
| 	"aqua", | ||||
| 	"cyan", | ||||
| 	"skyblue", | ||||
| 	"blue", | ||||
| 	"violet", | ||||
| 	"magenta", | ||||
| 	"redviolet" | ||||
| } | ||||
|  | ||||
| for i = 1, 12 do | ||||
|  | ||||
| 	hue = HUES[i] | ||||
|  | ||||
| 	minetest.register_craft( { | ||||
|         type = "shapeless", | ||||
|         output = "unifieddyes:dark_" .. hue .. "_s50 2", | ||||
|         recipe = { | ||||
|                 "unifieddyes:" .. hue, | ||||
|                 "unifieddyes:darkgrey_paint", | ||||
| 	        }, | ||||
| 	}) | ||||
|  | ||||
| 	minetest.register_craft( { | ||||
|         type = "shapeless", | ||||
|         output = "unifieddyes:dark_" .. hue .. "_s50 4", | ||||
|         recipe = { | ||||
|                 "unifieddyes:" .. hue, | ||||
|                 "unifieddyes:black", | ||||
|                 "unifieddyes:black", | ||||
| 		"unifieddyes:white_paint" | ||||
| 	        }, | ||||
| 	}) | ||||
|  | ||||
| 	minetest.register_craft( { | ||||
|         type = "shapeless", | ||||
|         output = "unifieddyes:dark_" .. hue .. " 3", | ||||
|         recipe = { | ||||
|                 "unifieddyes:" .. hue, | ||||
|                 "unifieddyes:black", | ||||
|                 "unifieddyes:black", | ||||
| 	        }, | ||||
| 	}) | ||||
|  | ||||
| 	minetest.register_craft( { | ||||
|         type = "shapeless", | ||||
|         output = "unifieddyes:medium_" .. hue .. "_s50 2", | ||||
|         recipe = { | ||||
|                 "unifieddyes:" .. hue, | ||||
|                 "unifieddyes:grey_paint", | ||||
| 	        }, | ||||
| 	}) | ||||
|  | ||||
| 	minetest.register_craft( { | ||||
|         type = "shapeless", | ||||
|         output = "unifieddyes:medium_" .. hue .. "_s50 3", | ||||
|         recipe = { | ||||
|                 "unifieddyes:" .. hue, | ||||
| 		"unifieddyes:black", | ||||
|                 "unifieddyes:white_paint", | ||||
| 	        }, | ||||
| 	}) | ||||
|  | ||||
| 	minetest.register_craft( { | ||||
|         type = "shapeless", | ||||
|         output = "unifieddyes:medium_" .. hue .. " 2", | ||||
|         recipe = { | ||||
|                 "unifieddyes:" .. hue, | ||||
|                 "unifieddyes:black", | ||||
| 	        }, | ||||
| 	}) | ||||
|  | ||||
| 	minetest.register_craft( { | ||||
|         type = "shapeless", | ||||
|         output = "unifieddyes:" .. hue .. "_s50 2", | ||||
|         recipe = { | ||||
|                 "unifieddyes:" .. hue, | ||||
|                 "unifieddyes:lightgrey_paint", | ||||
| 	        }, | ||||
| 	}) | ||||
|  | ||||
| 	minetest.register_craft( { | ||||
|         type = "shapeless", | ||||
|         output = "unifieddyes:" .. hue .. "_s50 4", | ||||
|         recipe = { | ||||
|                 "unifieddyes:" .. hue, | ||||
|                 "unifieddyes:white_paint", | ||||
|                 "unifieddyes:white_paint", | ||||
|                 "unifieddyes:black", | ||||
| 	        }, | ||||
| 	}) | ||||
|  | ||||
| 	minetest.register_craftitem("unifieddyes:dark_" .. hue .. "_s50", { | ||||
| 		description = "Dark " .. hue .. " (low saturation)", | ||||
| 		inventory_image = "unifieddyes_dark_" .. hue .. "_s50.png" | ||||
| 	}) | ||||
|  | ||||
| 	minetest.register_craftitem("unifieddyes:dark_" .. hue, { | ||||
| 		description = "Dark " .. hue, | ||||
| 		inventory_image = "unifieddyes_dark_" .. hue .. ".png" | ||||
| 	}) | ||||
|  | ||||
| 	minetest.register_craftitem("unifieddyes:medium_" .. hue .. "_s50", { | ||||
| 		description = "Medium " .. hue .. " (low saturation)", | ||||
| 		inventory_image = "unifieddyes_medium_" .. hue .. "_s50.png", | ||||
| 	}) | ||||
|  | ||||
| 	minetest.register_craftitem("unifieddyes:medium_" .. hue, { | ||||
| 		description = "Medium " .. hue, | ||||
| 		inventory_image = "unifieddyes_medium_" .. hue .. ".png" | ||||
| 	}) | ||||
|  | ||||
| 	minetest.register_craftitem("unifieddyes:" .. hue .. "_s50", { | ||||
| 		description = "Bright " .. hue .. " (low saturation)", | ||||
| 		inventory_image = "unifieddyes_" .. hue .. "_s50.png" | ||||
| 	}) | ||||
|  | ||||
| 	minetest.register_craftitem("unifieddyes:" .. hue, { | ||||
| 		description = "Bright " .. hue, | ||||
| 		inventory_image = "unifieddyes_" .. hue .. ".png" | ||||
| 	}) | ||||
|  | ||||
| end | ||||
|  | ||||
|  | ||||
| print("[UnifiedDyes] Loaded!") | ||||
|  | ||||
							
								
								
									
										59
									
								
								listcolors.sh
									
									
									
									
									
										Executable file
									
								
							
							
						
						| @@ -0,0 +1,59 @@ | ||||
| #!/bin/bash | ||||
|  | ||||
| pushd . >/dev/null | ||||
|  | ||||
| cd textures | ||||
|  | ||||
| echo -e "\n\nFull-saturation colors:" | ||||
| echo -e "-----------------------\n" | ||||
|  | ||||
| for i in `ls *dark*.png|grep -v _s50|grep -v paint|grep -v black` ; do | ||||
| 	rgb=`convert $i -crop 1x1+8+11 -depth 8 txt: |grep "0,0: (" |cut -f 2- -d "(" |cut -f 1-3 -d ","` | ||||
| 	color=`basename $i .png | sed 's/_/ /g; s/unifieddyes //; s/s50/50% saturation/'` | ||||
| 	printf "%-32s %-12s %s\n" "$color" "$rgb" "$i" | ||||
| done |sort | ||||
|  | ||||
| for i in `ls *medium*.png|grep -v _s50|grep -v paint|grep -v black` ; do | ||||
| 	rgb=`convert $i -crop 1x1+8+11 -depth 8 txt: |grep "0,0: (" |cut -f 2- -d "(" |cut -f 1-3 -d ","` | ||||
| 	color=`basename $i .png | sed 's/_/ /g; s/unifieddyes //; s/s50/50% saturation/'` | ||||
| 	printf "%-32s %-12s %s\n" "$color" "$rgb" "$i" | ||||
| done |sort | ||||
|  | ||||
| for i in `ls *.png|grep -v medium |grep -v dark|grep -v _s50|grep -v paint|grep -v black|grep -v titanium` ; do | ||||
| 	rgb=`convert $i -crop 1x1+8+11 -depth 8 txt: |grep "0,0: (" |cut -f 2- -d "(" |cut -f 1-3 -d ","` | ||||
| 	color=`basename $i .png | sed 's/_/ /g; s/unifieddyes //; s/s50/50% saturation/'` | ||||
| 	printf "%-32s %-12s %s\n" "$color" "$rgb" "$i" | ||||
| done |sort | ||||
|  | ||||
|  | ||||
| echo -e "\nLow-saturation colors:" | ||||
| echo -e "----------------------\n" | ||||
|  | ||||
| for i in `ls *dark*_s50.png|grep -v paint|grep -v black` ; do | ||||
| 	rgb=`convert $i -crop 1x1+8+11 -depth 8 txt: |grep "0,0: (" |cut -f 2- -d "(" |cut -f 1-3 -d ","` | ||||
| 	color=`basename $i .png | sed 's/_/ /g; s/unifieddyes //; s/s50/50% saturation/'` | ||||
| 	printf "%-32s %-12s %s\n" "$color" "$rgb" "$i" | ||||
| done |sort | ||||
|  | ||||
| for i in `ls *medium*_s50.png|grep -v paint|grep -v black` ; do | ||||
| 	rgb=`convert $i -crop 1x1+8+11 -depth 8 txt: |grep "0,0: (" |cut -f 2- -d "(" |cut -f 1-3 -d ","` | ||||
| 	color=`basename $i .png | sed 's/_/ /g; s/unifieddyes //; s/s50/50% saturation/'` | ||||
| 	printf "%-32s %-12s %s\n" "$color" "$rgb" "$i" | ||||
| done |sort | ||||
|  | ||||
| for i in `ls *_s50.png|grep -v dark|grep -v medium|grep -v paint|grep -v black` ; do | ||||
| 	rgb=`convert $i -crop 1x1+8+11 -depth 8 txt: |grep "0,0: (" |cut -f 2- -d "(" |cut -f 1-3 -d ","` | ||||
| 	color=`basename $i .png | sed 's/_/ /g; s/unifieddyes //; s/s50/50% saturation/'` | ||||
| 	printf "%-32s %-12s %s\n" "$color" "$rgb" "$i" | ||||
| done |sort | ||||
|  | ||||
| echo -e "\nGreyscale:" | ||||
| echo -e "----------\n" | ||||
|  | ||||
| printf "%-32s %-12s %s\n" "black" "  0,  0,  0" "unifieddyes_black.png" | ||||
| printf "%-32s %-12s %s\n" "dark grey" " 64, 64, 64" "unifieddyes_darkgrey_paint.png" | ||||
| printf "%-32s %-12s %s\n" "medium grey" "128,128,128" "unifieddyes_grey_paint.png" | ||||
| printf "%-32s %-12s %s\n" "light grey" "192,192,192" "unifieddyes_lightgrey_paint.png" | ||||
| printf "%-32s %-12s %s\n" "white" "255,255,255" "unifieddyes_white_paint.png" | ||||
|  | ||||
| popd >/dev/null | ||||
							
								
								
									
										
											BIN
										
									
								
								textures/unifieddyes_aqua.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 225 B | 
							
								
								
									
										
											BIN
										
									
								
								textures/unifieddyes_aqua_s50.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 217 B | 
							
								
								
									
										
											BIN
										
									
								
								textures/unifieddyes_black.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 224 B | 
							
								
								
									
										
											BIN
										
									
								
								textures/unifieddyes_blue.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 209 B | 
							
								
								
									
										
											BIN
										
									
								
								textures/unifieddyes_blue_s50.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 217 B | 
							
								
								
									
										
											BIN
										
									
								
								textures/unifieddyes_cyan.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 211 B | 
							
								
								
									
										
											BIN
										
									
								
								textures/unifieddyes_cyan_s50.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 217 B | 
							
								
								
									
										
											BIN
										
									
								
								textures/unifieddyes_dark_aqua.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 234 B | 
							
								
								
									
										
											BIN
										
									
								
								textures/unifieddyes_dark_aqua_s50.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 241 B | 
							
								
								
									
										
											BIN
										
									
								
								textures/unifieddyes_dark_blue.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 223 B | 
							
								
								
									
										
											BIN
										
									
								
								textures/unifieddyes_dark_blue_s50.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 235 B | 
							
								
								
									
										
											BIN
										
									
								
								textures/unifieddyes_dark_cyan.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 230 B | 
							
								
								
									
										
											BIN
										
									
								
								textures/unifieddyes_dark_cyan_s50.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 237 B | 
							
								
								
									
										
											BIN
										
									
								
								textures/unifieddyes_dark_green.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 223 B | 
							
								
								
									
										
											BIN
										
									
								
								textures/unifieddyes_dark_green_s50.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 235 B | 
							
								
								
									
										
											BIN
										
									
								
								textures/unifieddyes_dark_lime.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 234 B | 
							
								
								
									
										
											BIN
										
									
								
								textures/unifieddyes_dark_lime_s50.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 241 B | 
							
								
								
									
										
											BIN
										
									
								
								textures/unifieddyes_dark_magenta.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 230 B | 
							
								
								
									
										
											BIN
										
									
								
								textures/unifieddyes_dark_magenta_s50.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 237 B | 
							
								
								
									
										
											BIN
										
									
								
								textures/unifieddyes_dark_orange.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 234 B | 
							
								
								
									
										
											BIN
										
									
								
								textures/unifieddyes_dark_orange_s50.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 241 B | 
							
								
								
									
										
											BIN
										
									
								
								textures/unifieddyes_dark_red.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 223 B | 
							
								
								
									
										
											BIN
										
									
								
								textures/unifieddyes_dark_red_s50.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 235 B | 
							
								
								
									
										
											BIN
										
									
								
								textures/unifieddyes_dark_redviolet.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 234 B | 
							
								
								
									
										
											BIN
										
									
								
								textures/unifieddyes_dark_redviolet_s50.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 241 B | 
							
								
								
									
										
											BIN
										
									
								
								textures/unifieddyes_dark_skyblue.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 234 B | 
							
								
								
									
										
											BIN
										
									
								
								textures/unifieddyes_dark_skyblue_s50.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 241 B | 
							
								
								
									
										
											BIN
										
									
								
								textures/unifieddyes_dark_violet.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 235 B | 
							
								
								
									
										
											BIN
										
									
								
								textures/unifieddyes_dark_violet_s50.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 241 B | 
							
								
								
									
										
											BIN
										
									
								
								textures/unifieddyes_dark_yellow.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 229 B | 
							
								
								
									
										
											BIN
										
									
								
								textures/unifieddyes_dark_yellow_s50.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 237 B | 
							
								
								
									
										
											BIN
										
									
								
								textures/unifieddyes_darkgrey_paint.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 326 B | 
							
								
								
									
										
											BIN
										
									
								
								textures/unifieddyes_green.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 210 B | 
							
								
								
									
										
											BIN
										
									
								
								textures/unifieddyes_green_s50.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 217 B | 
							
								
								
									
										
											BIN
										
									
								
								textures/unifieddyes_grey_paint.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 323 B | 
							
								
								
									
										
											BIN
										
									
								
								textures/unifieddyes_lightgrey_paint.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 340 B | 
							
								
								
									
										
											BIN
										
									
								
								textures/unifieddyes_lime.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 225 B | 
							
								
								
									
										
											BIN
										
									
								
								textures/unifieddyes_lime_s50.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 217 B | 
							
								
								
									
										
											BIN
										
									
								
								textures/unifieddyes_magenta.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 212 B | 
							
								
								
									
										
											BIN
										
									
								
								textures/unifieddyes_magenta_s50.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 217 B | 
							
								
								
									
										
											BIN
										
									
								
								textures/unifieddyes_medium_aqua.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 236 B | 
							
								
								
									
										
											BIN
										
									
								
								textures/unifieddyes_medium_aqua_s50.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 246 B | 
							
								
								
									
										
											BIN
										
									
								
								textures/unifieddyes_medium_blue.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 231 B | 
							
								
								
									
										
											BIN
										
									
								
								textures/unifieddyes_medium_blue_s50.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 239 B | 
							
								
								
									
										
											BIN
										
									
								
								textures/unifieddyes_medium_cyan.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 234 B | 
							
								
								
									
										
											BIN
										
									
								
								textures/unifieddyes_medium_cyan_s50.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 242 B | 
							
								
								
									
										
											BIN
										
									
								
								textures/unifieddyes_medium_green.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 230 B | 
							
								
								
									
										
											BIN
										
									
								
								textures/unifieddyes_medium_green_s50.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 239 B | 
							
								
								
									
										
											BIN
										
									
								
								textures/unifieddyes_medium_lime.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 236 B | 
							
								
								
									
										
											BIN
										
									
								
								textures/unifieddyes_medium_lime_s50.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 246 B | 
							
								
								
									
										
											BIN
										
									
								
								textures/unifieddyes_medium_magenta.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 234 B | 
							
								
								
									
										
											BIN
										
									
								
								textures/unifieddyes_medium_magenta_s50.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 241 B | 
							
								
								
									
										
											BIN
										
									
								
								textures/unifieddyes_medium_orange.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 235 B | 
							
								
								
									
										
											BIN
										
									
								
								textures/unifieddyes_medium_orange_s50.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 245 B | 
							
								
								
									
										
											BIN
										
									
								
								textures/unifieddyes_medium_red.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 222 B | 
							
								
								
									
										
											BIN
										
									
								
								textures/unifieddyes_medium_red_s50.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 238 B | 
							
								
								
									
										
											BIN
										
									
								
								textures/unifieddyes_medium_redviolet.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 235 B | 
							
								
								
									
										
											BIN
										
									
								
								textures/unifieddyes_medium_redviolet_s50.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 245 B | 
							
								
								
									
										
											BIN
										
									
								
								textures/unifieddyes_medium_skyblue.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 237 B | 
							
								
								
									
										
											BIN
										
									
								
								textures/unifieddyes_medium_skyblue_s50.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 239 B | 
							
								
								
									
										
											BIN
										
									
								
								textures/unifieddyes_medium_violet.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 237 B | 
							
								
								
									
										
											BIN
										
									
								
								textures/unifieddyes_medium_violet_s50.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 239 B | 
							
								
								
									
										
											BIN
										
									
								
								textures/unifieddyes_medium_yellow.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 235 B | 
							
								
								
									
										
											BIN
										
									
								
								textures/unifieddyes_medium_yellow_s50.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 241 B | 
							
								
								
									
										
											BIN
										
									
								
								textures/unifieddyes_orange.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 223 B | 
							
								
								
									
										
											BIN
										
									
								
								textures/unifieddyes_orange_s50.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 217 B | 
							
								
								
									
										
											BIN
										
									
								
								textures/unifieddyes_red.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 202 B | 
							
								
								
									
										
											BIN
										
									
								
								textures/unifieddyes_red_s50.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 221 B | 
							
								
								
									
										
											BIN
										
									
								
								textures/unifieddyes_redviolet.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 223 B | 
							
								
								
									
										
											BIN
										
									
								
								textures/unifieddyes_redviolet_s50.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 217 B | 
							
								
								
									
										
											BIN
										
									
								
								textures/unifieddyes_skyblue.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 223 B | 
							
								
								
									
										
											BIN
										
									
								
								textures/unifieddyes_skyblue_s50.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 217 B | 
							
								
								
									
										
											BIN
										
									
								
								textures/unifieddyes_titanium_dioxide.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 2.8 KiB | 
							
								
								
									
										
											BIN
										
									
								
								textures/unifieddyes_violet.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 224 B | 
							
								
								
									
										
											BIN
										
									
								
								textures/unifieddyes_violet_s50.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 217 B | 
							
								
								
									
										
											BIN
										
									
								
								textures/unifieddyes_white_paint.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 329 B | 
							
								
								
									
										
											BIN
										
									
								
								textures/unifieddyes_yellow.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 214 B | 
							
								
								
									
										
											BIN
										
									
								
								textures/unifieddyes_yellow_s50.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 217 B | 
							
								
								
									
										
											BIN
										
									
								
								titanium-dioxide.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 28 KiB | 
							
								
								
									
										
											BIN
										
									
								
								unifieddyes2.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 2.7 KiB | 
							
								
								
									
										
											BIN
										
									
								
								white-paint.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 41 KiB |