add docstrings to rgb converter script