Coloring comments on sites

    The thought of how to diversify comment blocks. The idea is simple. Each user has his own avatar. As the background for the block, the most common light color on the avatar is automatically selected, and as the text color - dark.

    T.O. Each user will be identified not only by nickname and avatar, but also by the color of its block.

    Naturally, the rest of the block design can be done as you like.

    Underwater rocks.
    1. Be sure to limit the colors to the minimum and maximum brightness and saturation, so that it is always readable and not particularly rippled in the eyes.
    2. By default, for example, make the text color # 333, and the background - # ccc

    Also popular now: