How can I get the darker shade of any color from BrickColor?

I am trying to get the same color chosen below but just a darker shade of that color. How would I be able to do that??

local coloor = BrickColor.random()
local darkerShade = ?? --Get the same color as above but make it slightly darker.
1 Like

local coloor = BrickColor.random()
local darkerShade = ?? --Get the same color as above but make it slightly darker.

Depends on the Colour, anyways I chose black for example so here.

local colour = BrickColor.random()
local darkerShade = (0,0,0)–Get the same color as above but make it slightly darker. Hope this helps!

1 Like

You can convert the brickcolor to color3 and just substract from the color3value

local color = BrickColor.random().Color
local sub = 0.1
local darkershade = Color3.new(color.R-sub,color.G-sub,color.B-sub)
1 Like