from typing import List
import math


def hue (size:int, maximum) -> List[int]:
	"""
	get the ith sequence in [0, 0, 0] ... [255, 255, 255]
	"""

	index = math.floor((size / maximum) * 255 ** 3)

	blue  = (index) & 255
	green = (index >> 8) & 255
	red   = (index >> 16) & 255

	return [red, green, blue]