The background color determines whether a gem is a skill gem or a support gem. Light blue backgrounds mean that the gem is a skill gem, while the darker background means that it is a support gem. In most cases, people will list gems in order of importance. So if you have a 5-linked piece of gear, you would just use the first 5 gems in that row.