Fix RGB convert error (#71)

This commit fixes RGB convert error. Fix from #71.