Here’s an interesting small trick to quickly get triadic harmonious colors when programming or writing HTML:
Take a hex representation of a color, e.g.
#778899:
Then rotate to the left to get the first triadic color:
#889977:
And rotate once more to get the second one:
#997788:
Easy, isn’t it 😉