Gerometrical Structre and Calculation of RBG Hex Codes