forked from gitea/gitea

Backport #26519 by @wxiaoguang The color is taken from "Name" Before:  After:  Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>