Skip to main content

Switch colours in a container without causing a gradient

E.g., 50% white then 50% another colour with no gradient.

Surprised this straightforward isn’t already part of replo

Status: Completed1 comment

Comments1

  • Noah Gilmore

    Team•

    Nov 11, 2025

    Interesting use case! You can actually use a gradient for this - you just have to make sure that the gradient stops are positioned right next to each other. You’d create the two colors, then move one right over the other one. Something like this: