/color

Console Color Print Tool

Primary LanguageErlang

Color

  • console color

quick start

  • Add to rebar.config
{deps, [
  ...
  {color, {git, "https://github.com/QCute/color.git", {branch, "master"}}}
]}.
  • Usage
io:format("~s ~s ~s~n", [color:red("hello"), color:green("world"), color:blue("!")]).