internal void drawColorSelector(Rect R)
        {
            GUILayout.Space(20);
            GUILayout.BeginVertical();
            GUILayout.Label("Color Selection", SCANskins.SCAN_headline);
            GUILayout.BeginHorizontal();
            GUILayout.Space(30);
            GUILayout.Label(SCANskins.SCAN_BigColorWheel);
            Rect r = GUILayoutUtility.GetLastRect();

            GUILayout.EndHorizontal();
            GUILayout.EndVertical();

            Rect s = new Rect(r.x + 170, r.y + 100, 80, 30);

            GUI.Label(s, "Value: " + valSlider.ToString("N0") + "%", SCANskins.SCAN_whiteReadoutLabel);

            s.x      += 80;
            s.y      -= 90;
            s.width   = 30;
            s.height  = 200;
            valSlider = GUI.VerticalSlider(s, valSlider, 100, 0, SCANskins.SCAN_vertSlider, SCANskins.SCAN_sliderThumb).Mathf_Round(0);

            SCANuiUtil.drawVerticalSliderLabel(s, "0%", "100%");

            if (GUI.RepeatButton(r, "", SCANskins.SCAN_colorWheelButton))
            {
                int a = (int)Input.mousePosition.x;
                int b = Screen.height - (int)Input.mousePosition.y;

                c = SCANskins.SCAN_BigColorWheel.GetPixel(a - (int)R.x - (int)r.x, -(b - (int)R.y - (int)r.y));

                if (lowColorChange)
                {
                    colorLow = c * new Color(valSlider / 100f, valSlider / 100f, valSlider / 100f);
                }
                else
                {
                    colorHigh = c * new Color(valSlider / 100f, valSlider / 100f, valSlider / 100f);
                }
            }

            r.x     -= 55;
            r.y     += 145;
            r.width  = 60;
            r.height = 30;

            colorSwatches(r, "Low", ref lowColorChange, true, minColorPreview, minColorOld, colorLow);

            r.x += 150;
            colorSwatches(r, "High", ref lowColorChange, false, maxColorPreview, maxColorOld, colorHigh);

            r.x -= 60;
            r.y += 30;
            GUI.Label(r, "New", SCANskins.SCAN_headlineSmall);

            r.y += 32;
            GUI.Label(r, "Old", SCANskins.SCAN_headlineSmall);
        }