brown/purple colours

Help
Kurgusov
2007-08-12
2013-04-25
  • Kurgusov
    Kurgusov
    2007-08-12

    Hi MrMcBrine,
    This forums very quiet and soon Ill have all the posts.

    I am trying to get the colours brown and purple on the screen but all my uneducated attempts have gone awry.

    Do I need to change a setting or redefine another color?

    Any help would be great,though Ill keep pluggin away at it.

    Respects.
    (using pdCurses 3.2 on xp)

     
    • Yes, you'd have to redefine a color via init_color() if none of the existing ones is satisfactory.

      "Brown" is traditionally assigned to dark yellow, and is made by upping the red quotient (where a pure yellow would have equal parts red and green). "Purple" is some combination of red and blue, which is what you currently have in COLOR_MAGENTA; if you want some other shade, you can adjust the red and blue components as desired.

      HTH.

       
    • Kurgusov
      Kurgusov
      2007-08-12

      yeah that helps,
      thanks,your a legend.