Jump to content
Sign in to follow this  
p2p2

rainbow colours

Recommended Posts

p2p2

I have a little Problem with colours...

I want to create a bot that automatically adds the html-codes for a rainbow-colored text to a text in the clipboard.

But my problem is:

I want to cut the rainbow in 20 pieces

And every letter has one of the 20 colours. (the Xth letter has the colour of the Xth piece)

so I always have to calculate with the colours because I want to choose the colour with which it begins!

(20 rainbow colours - the first one is the selected one)(I select the colour with _ChooseColor)

With numbers as colour-codes it wouldn't be a problem!

but for the HTML-code I need the colour-codes as RGB-HEX colours!

how can I do that in AutoIt?

p2

Share this post


Link to post
Share on other sites
p2p2

cool, thanx! :oops:

haven't seen the example when searching for the solution.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×