Brightness calculator
In color theory, brightness (sometimes called value or lightness) refers to how light or dark a color appears. But actually, there isn’t a single universal definition of “brightness.” What you call brightness depends on whether you mean a physical quantity, a perceptual response, or a practical approximation for RGB values. Different fields use different models.
You can find more details about brightness here.