Use the scratch color picker system to change the H (Hue, or color in the scratch world), S (saturation), and L (Lightness, or brightness in the scratch world). You can then see the RGB colors that make up the HSL colors, and a hex code for that color! This is especially useful for color lists, so you need one list with a hex code rather than 3 lists with color, brightness, and saturation.
thanks google for the formulas :P