Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Q: Coloring Schemes

Q: Coloring Schemes

Scheduled Pinned Locked Moved C#
graphicshelpquestion
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Y Offline
    Y Offline
    yoaz
    wrote on last edited by
    #1

    Hi there, It's fairly easy to create a System.Drawing.Color with any RGB value one wishes. It's also easy to get this color HSB values by using System.Drawing.Color.GetBrightness, System.Drawing.Color.GetHue and System.Drawing.Color.GetSaturation member methods. :rolleyes: But can anyone help me create a color from Hue, Saturation and Brightness (HSB) values? :confused:

    D 1 Reply Last reply
    0
    • Y yoaz

      Hi there, It's fairly easy to create a System.Drawing.Color with any RGB value one wishes. It's also easy to get this color HSB values by using System.Drawing.Color.GetBrightness, System.Drawing.Color.GetHue and System.Drawing.Color.GetSaturation member methods. :rolleyes: But can anyone help me create a color from Hue, Saturation and Brightness (HSB) values? :confused:

      D Offline
      D Offline
      Daniel M Edwards
      wrote on last edited by
      #2

      I found this snippet after a quick Google search. It's the 3rd block down. http://www.syncfusion.com/FAQ/WinForms/FAQ_c85c.asp[^]

      Y 1 Reply Last reply
      0
      • D Daniel M Edwards

        I found this snippet after a quick Google search. It's the 3rd block down. http://www.syncfusion.com/FAQ/WinForms/FAQ_c85c.asp[^]

        Y Offline
        Y Offline
        yoaz
        wrote on last edited by
        #3

        tks; i'm looking into it

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups