Foreground. Background. Subject.
The three planes in a photograph - multiple elements in each; many color-palettes on each.
Your very first take-in of a scene usually gives you a mix of colors across these three planes - some contrasting, a few complementing, others jarring.
Very rarely is this first-look the best to create a unifying 'color-character' in your composition.
But as you try a combination of the incredible options in controlling the pieces that make up your frame : changing your focal-length, taking a high or low or angled view-point, or simply moving around your subject to completely alter the scenery itself, you will find that perfect framing which fuses concept with a strong color-dynamic.
You'd then have a powerful color-contrast (blue-red, yellow-purple, green-orange make wonderful contrasts) or color-harmony, or both.
Either way, you'd have used color to meld different elements of your picture!
Happy Photographing!!