legal code: a code of laws adopted by a state or nation
code: a set of rules or principles or laws (especially written ones)
primary color: any of three colors from which all others can be obtained by mixing