Organization:
This is probably the first thing you want to do when you start a
project. If you are knewer to db and programming, write it down,
draw pics of how you think it should be. Ask some friends (that
know what you are doing) to criticize your structure and flow of
your project. Once you have that, keep your db's, tables, fields,
variables, functions, classes, etc... named something that make
sense, as you did, that way when you are looking to select the id
from Colors, you don't have to wonder if it is id, ID, etc.... you
just know that since it is in Colors, you have ColorsID. A lot of
folks have a problem getting around with var names and such,
then in the end when they have to change something, they beat
themselves to death cuz they have a function named, let's say,
cleaner, and they don't really know what that is for, but it cleans
the input from forms and such. You should have named it
clean_input or something that gives you a clue what it meant,
etc...
etc...
Organization creates fluid flow which creates fluid programs which create a fluid product for your end user.
my 3 cents // gave a little more this time