Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

RGB Color Options

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    RGB Color Options

    Is there a way to tap into the Custom color palette vs the Web color palette when assigning colors to bars and backgrounds without the need to override the Plot method. I would like to display a marginally lighter darkdarkgreen color (RGB 0, 64, 0) as a backcolor on a black chart background but the default Web color palette that is available when using the Color method is not dark enough.

    If this is not available, it would seem to be a good idea to add an RGBColor(R, G, B) method to the enhancement list for all colorable chart objects.

    Thanks,

    Whitmark
    Last edited by whitmark; 10-29-2007, 07:20 AM.
    whitmark
    NinjaTrader Ecosystem Vendor - Whitmark Development

    #2
    Not sure I follow. Please check out the Color class in .NET and how to set it to your desired RGB values.

    Comment


      #3
      Color.FromArgb Method

      ah . . . got it. Orignially I used intellisense and thought it was only offering color names, but now I see it. Thanks.

      Code:
      Example:  BackColorAll = Color.FromArgb(0, 64, 0);
      whitmark
      NinjaTrader Ecosystem Vendor - Whitmark Development

      Comment


        #4
        Glad it's resolved for you.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Hwop38, 05-04-2026, 07:02 PM
        0 responses
        173 views
        0 likes
        Last Post Hwop38
        by Hwop38
         
        Started by CaptainJack, 04-24-2026, 11:07 PM
        0 responses
        328 views
        0 likes
        Last Post CaptainJack  
        Started by Mindset, 04-21-2026, 06:46 AM
        0 responses
        252 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by M4ndoo, 04-20-2026, 05:21 PM
        0 responses
        354 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by M4ndoo, 04-19-2026, 05:54 PM
        0 responses
        181 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Working...
        X