Blend colors

how to transforme the three values (R,G,B) in a brighter or darker tone?
Blending white/black its simple, but with colors…