Team Spartan Cookies & Milk Forums
  • Issue Tracker
  • Donations
  • Search
  • Member List
  • Help

Register

Team Spartan Cookies & Milk Forums Garry's Mod Starfall v
« Previous 1 2 3 4 5 6 … 18 Next »
Full HSV/HSL/Hex Colour support?
Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Linear Mode
Full HSV/HSL/Hex Colour support?
08-07-2020, 06:48 PM,
#2
Person8880 Offline
gpj.ecafllorT
*******
Posts: 2,407
Threads: 45
Joined: Sep 2013
RE: Full HSV/HSL/Hex Colour support?
Colours already have methods to convert between colour spaces, they just weren't in the SF docs. Use Color:ToHSV() and Color:ToHSL() to convert from RGB (these are now documented).

I'll add hex conversion and HSL to RGB at some point, don't have time to do it today.
Find
Reply
« Next Oldest | Next Newest »


Messages In This Thread
Full HSV/HSL/Hex Colour support? - by frdhog - 08-07-2020, 05:41 PM
RE: Full HSV/HSL/Hex Colour support? - by Person8880 - 08-07-2020, 06:48 PM

  • View a Printable Version
Forum Jump:


Users browsing this thread: 1 Guest(s)
Contact UsTeam Spartan Cookies & MilkReturn to TopLite (Archive) ModeMark all forums readRSS Syndication

Powered By MyBB, © 2002-2026 MyBB Group.