Implemented initial color flood logic