Small but smart colorpicker

Small but smart colorpicker

The small but smart color picker

This is my attempt at making a small but smart color picker. It has two modes and can be used for live color updating. The mode shown in image is Alphamode:= True, second mode will then be Alphamode:= False which will be more aimed at web design.

To set the colorpickers color use:
SetColor(Color, Alpha, Update) or SetColor(Color, Update) where Update is a boolean which if false will set old color to color value.

Alpha is a value between 0 and 255.

To get color value use GetColor. Alpha value is stored in RGBAlpha.

Download: Color Picker (260kB)

Tags: , , ,

  • http://atorg.net.ru/ Alex

    ]]SetColor(Color, Alpha, Update) or SetColor(Color, Update) where Update is a boolean

    better to use SetColor(Color, Update, Alpha = -1) where when Alpha is not set its not used.

  • admin

    Agreed. I have some other plans with this colorpicker as well so changes will come. I hope you like it and find it usefull. In my opinion it is not a complete solution but it gives you a quick start…

blog comments powered by Disqus