Closed phmatray closed 7 years ago
Ah, that's an interesting idea.
Why ARGB and not just RGB, though? I don't think an alpha channel really makes sense for these colors. (Also every time I've seen an 8-hexit color, it's been RGBA.)
That's cool, i guess.
I have never seen a RGBA notation for colors. It was always ARGB or RGB... but I don't think the alpha canal is important for those colors. So I'm for RGB :)
In my project I write the type name over a background with a given type color. Some colors are just too dark to write with black text color over it. So I made a separated field to indicate dark colors. Those dark colors are chosen manually and are used to invert the text colors. Do you need this, too?
Hm, probably not — that's the kind of thing I would figure out on the fly in code, since it's not canonically from the games.
I'm curious about the cross-gen issue, though. Maybe this warrants a separate table also keyed on version group.
Perhaps there is need for further analysis. Should we give up for now?
This is a good idea but I also agree that the RGB format is more appropriate and that we also need a separated table for it, because each generation (and some times each game group) use to have different colors.
We also have to consider that in some generation 2 colors have been used (like red and blue for the Dragon type in FR/LG I think) and gradients of 2 colors like in Gen 6.
Here is a guide I compiled from spriters-resource.com and other sites:
I would rather add all the type icons to pokedex-media than add a table containing all the colors to the database. Anyone who needs the colors can get them from the icons.
I agree with @magical and @metaunicorn here.
Color codes can definitely be useful, so I think what @phmatray is doing is an interesting idea; however, I'm concerned that it's not the best since the icons have gradients in their backgrounds, and also that there are different colors for different versions.
Ah, I forgot about the split dragon sprite.
I'm +0 on this — I like the general idea, but you'd have to find some very robust way to express these cases for it to really be useful.
OK, forget that idea. I think that we can close this issue without merging. Thanks for all your comments :)
Hello @eevee I've used the color codes from the type images into the pokedex_media repository. Here is a look