You can use Bootstrap if you want ready to use ones.
If you want to create it yourself:
my suggestion is create 3 divs inside 1 div with margins and color them.
If you want it to respond on your mouse without clicking you can use
"."(class) or "#"(id) : hover ---- in your css
you can also use : active but it only works when you click continuously
like <button class="a" onclick="myFunction()"> etc.