GameBanana shows no ads to members. Sign up now!
Ads keep us online. Without them, we wouldn't exist. We don't have paywalls or sell mods - we never will. But every month we have large bills and running ads is our only way to cover them. Please consider unblocking us. Thank you from GameBanana <3

RGB -> Decimal?

A Question for Source Engine

Question Solved

This Question was answered and a solution was chosen.
Hello. I need help with Converting RGB to Decimal for $envmaptint [ ~ ~ ~] . as you know, EnvMapTint only accepts Decimal, not RGB Color.
So how to Convert RGB to Decimal? any Free Softwares? Calculations? :)

(I don't mean the Online Ones)

Thanks :)
Sign up to access this!
  • Alfa1337 avatar
    Alfa1337 Joined 14y ago
    REDEMPT Manager WANTED! Manager
    28,841 points Ranked 178th
    42 medals 4 legendary 13 rare
    • 10 years a member Medal icon
    • Submitted 50 Maps Medal icon
    • Submitted 100 Skins Medal icon
    • Returned 5000 times Medal icon
    • 6 years a member Medal icon
    • Submitted 50 Skins Medal icon
    1y 1y
    Unsure, but I came across a game which separates the RGB into per channel colour.

    It's basically a range. 0.0 is 0, and the maximum 1.0 is 255.

    R - 0.3
    G - 0.7
    B - 0.9

    This equates to

    R - ~70
    G - ~178
    B - ~230

    Which is this hex-colour: 46b2e6

    • Interesting x 1
    • Creative x 1
    • Cheers x 1
    • Correct x 1
    • Informative x 1
    URL to post:


Share banner
Image URL
HTML embed code
BB embed code
Markdown embed code


Wirmaple7321 avatar
Wirmaple7321 username pic Joined 3y ago
Died in BMRF :)
105th Inc. Flag Affiliation: 105th Inc.
1,698 points Ranked 21,763rd
16 medals 1 legendary 1 rare
  • 2019 Top Contributor Medal icon
  • 10 submissions featured Medal icon
  • Submitted 1 Tool Medal icon
  • One month a member Medal icon
  • 6 months a member Medal icon
  • Returned 100 times Medal icon
Wirmaple7321 avatar
105th Inc. Flag
105th Inc.

Sign up to access this!
Sign up to access this!
Sign up to access this!


Sign up to access this!



  • Share on Reddit
  • Share on Twitter
  • Share on Facebook
  • 0
  • 784
  • 5
  • 1y

More from Submitter

WiPs by Submitter

More Other/Misc Questions