Rounded bars and text color help

Hi,

I need help with makes these bars rounded and make text color different on yellow, pink and blue.

type: 'custom:bar-card'
rows: 4
entities:
  - entity: sensor.printer_ink_cyan
    color: cyan
  - entity: sensor.printer_ink_black
    color: black
  - entity: sensor.printer_ink_magenta
    color: magenta
  - entity: sensor.printer_ink_yellow
    color: yellow

Using CSS requires card-mod.

I installed the card-mod, but how would I make these entities bars rounded and the overlay text color to black.

entities:
  - entity: sensor.printer_ink_cyan
    color: cyan
    border: 
  - entity: sensor.printer_ink_black
    color: black
  - entity: sensor.printer_ink_magenta
    color: magenta
  - entity: sensor.printer_ink_yellow
    color: yellow