There was a recent case in the US state of California (Almond Alliance v. California Fish & Game Commission) that got a lot of press because the court found that bees were fish. The California Endangered Species Act allows the state to protect any "bird, mammal, fish, amphibian, reptile, or plant" but defines "fish" as "a wild fish, mollusk, crustacean, invertebrate, amphibian, or part, spawn, or ovum of any of those animals." The court ruled that bees were invertebrates so, under this particular law and definition, bees were fish and thus eligible for protection.
Realistically, the court would apply the same logic here. If the legislature passed a law which included a definition that "white" was "any hue-less color such as white, grey, or black" then that is the definition that the court would use when interpreting that law. If the law said that it was illegal to "paint a mailbox white", the court would simply find that "white" uses the definition the legislature specifically adopted rather than the colloquial definition. Thus the law banned mailboxes that were white, grey, or black.