format, colored and implements

Signed-off-by: eggfly <lihaohua90@gmail.com>