Does “rainbow-colored” need a hyphen?
Write “rainbow-colored” with a hyphen when the two parts work together to describe something, such as a ribbon. The hyphen shows they give one description. In “the rainbow colored the clouds,” leave the words apart. There the rainbow is what does the coloring, and “colored” names that action.
What Harper flagged
Measured with Harper 3.3.0 on , on this page’s own sentences.
Rule RainbowColoredHyphen
| Sentence | Words flagged | Harper’s message | First suggestion |
|---|---|---|---|
| She tied a rainbow colored ribbon around the parcel. | Keep these compound color modifiers hyphenated before their nouns. | Replace with: “-” | |
| The shop sells a rainbow colored scarf with long ends. | Keep these compound color modifiers hyphenated before their nouns. | Replace with: “-” | |
| We hung rainbow colored flags above the gate. | Keep these compound color modifiers hyphenated before their nouns. | Replace with: “-” | |
| She tied a rainbow-colored ribbon around the parcel. | No flag from this rule | ||
| The shop sells a rainbow-colored scarf with long ends. | No flag from this rule | ||
| We hung rainbow-colored flags above the gate. | No flag from this rule | ||
| The rainbow colored the clouds beside the hill. | No flag from this rule | ||
Why it happens
In the ribbon example, “rainbow-colored” tells what the ribbon looks like. The reader takes in the two parts as one description before getting to the thing you mean. A ribbon can have many bands of color even though it is shaped like a strip.
The clouds example tells a small story with a subject and a verb. You could put the event in the present and say the rainbow “colors” the clouds. That swap shows why the words have different jobs in that sentence.
Check it by hand
Find the thing described. If it is a ribbon, flag, or scarf with several rainbow colors, link the words before it. If the rainbow is the subject and the next word names what it did, use a space.
Questions people ask
Does “rainbow ribbon” need the same hyphen?
No. You can use “rainbow” by itself to describe the ribbon.
What about “rainbow-coloured”?
The hyphen stays. “Coloured” is the British spelling, and “colored” is the American spelling.
Harper’s own description
Harper’s words under Apache-2.0When rainbow-colored or cream-colored describe a noun, replace the space between the color words with a hyphen to keep the modifier cohesive.
More rules
Try it
Try a sentence in the free checker. Your text stays on the page.
Grammarnest is being built to check your writing in every app on your computer. Your writing will stay on your computer and will never be sent.
Sources
- Harper project and its Apache-2.0 licence
- Harper v3.3.0 release
- Run on . Full results