HEX Colors to RGB

strColor = rs![colorH]

i = Left(strColor, 2)

R = Val(“&H” & i & “&”)

i = Mid(strColor, 3, 2)

G = Val(“&H” & i & “&”)

i = Right(strColor, 2)

B = Val(“&H” & i & “&”)

Detail.BackColor = RGB(R, G, B)