bgHex method

String bgHex(
  1. dynamic hex
)

Alternate name for onHex() (provided for legacy compatibility with JS Chalk).

Implementation

String bgHex(dynamic hex) => (_chalk.onHex(hex))(this);