Working RGB bit value extraction and draft of iterate function.