How to Make a Color Changing BG!

Hi Hops!
Today I am going to be showing you how to make a color changing background smoothly! This is free to use without credit.
Here is the code:


And here is the direct project: https://c.gethopscotch.com/p/118tv1xt3r
If you want me to explain the concept, just tag me!

11 Likes

First post (I know no one likes first posts anymore but…) Anyway, thanks for this, I might use it.

5 Likes

For the variable, I meant to put B instead of H. Sorry if that caused any confusion.

3 Likes

Glad this helped!

3 Likes

Oh I didn’t even notice that.

4 Likes

Nice
Wait why is it times 80?
For a light grey bg
It’s supposed to be 100 for a white screen

5 Likes

That depends on the color you want it to be. I like that color so I choose that.

3 Likes

https://c.gethopscotch.com/p/118tzgmo0b
This is WAY better

2 Likes

If you want color changes instead of shade changes, the one above is better.

1 Like

Yeah I like this one better

1 Like

this is very helpful, thanks!

2 Likes

Nice tutorial! This is similar 2 this, just with a singe color instead of a full gradient, no?

4 Likes

Look at post 7

1 Like

lol, i made a topic about OP’s and now whenever i look at a poor OP, i just laugh

3 Likes

What is an OP?

2 Likes

OP = Opening Post
nice tutorial though!

3 Likes

Oh ok! I don’t have a lot of experience making OPs, but I will improve!

1 Like

Wow, I did one of these when I joined, I took hours only to realise that basic users can’t make projects

3 Likes

This op’s actually pretty good albus…

5 Likes

I never said that this OP was bad

2 Likes