Replace MaxRGB (deprecated)

Signed-off-by: Pierre Gergondet <pierre.gergondet@aist.go.jp>