user101
user101

Reputation: 505

libgdx color class some colors are not working

What is the current limitation of libgdx Color class.

I tried this RGB (123.0f, 188.0f , 219.0f , 1.0f), and my game only renders a white color.

are this colors not supported?

Upvotes: 0

Views: 134

Answers (1)

dtx12
dtx12

Reputation: 4488

Value should be in 0...1 range otherwise it just will be clamped to 1

Upvotes: 1

Related Questions