Jump to content

rainbow colours


p2p2
 Share

Recommended Posts

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

Link to comment
Share on other sites

  • 2 weeks later...

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...