Forum
    • Categories
    • Register
    • Login

    Colour Palette

    Scheduled Pinned Locked Moved Feature Requests
    15 Posts 8 Posters 687 Views
    Loading More Posts
    • 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.
    • DanHD
      DanH @Christoph Hart
      last edited by DanH

      @Christoph-Hart but all the glorious space at the top of HISE needs to be used for something! 😆

      Thinking about it having some 'globalColour' options could be very handy...

      DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
      https://dhplugins.com/ | https://dcbreaks.com/
      London, UK

      Matt_SFM 1 Reply Last reply Reply Quote 0
      • Matt_SFM
        Matt_SF @DanH
        last edited by

        @DanH It's already available :

        const GLOBAL_COL_1 = 0xFFFFFFFF;
        const GLOBAL_COL_2 = 0xFF101010;
        //etc...
        

        😁

        Develop branch
        Win10 & VS17 / Ventura & Xcode 14. 3

        DanHD 1 Reply Last reply Reply Quote 1
        • DanHD
          DanH @Matt_SF
          last edited by

          @Matt_SF Ha, yes indeed, I was thinking something more hardcoded into HISE.

          DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
          https://dhplugins.com/ | https://dcbreaks.com/
          London, UK

          Matt_SFM MikeBM 2 Replies Last reply Reply Quote 0
          • Matt_SFM
            Matt_SF @DanH
            last edited by

            @DanH Yeah I was just messing with you, but I got what you meant and even if it's not an important feature, sometimes it would be nice to have global colors and be able to change them wisually.

            Develop branch
            Win10 & VS17 / Ventura & Xcode 14. 3

            1 Reply Last reply Reply Quote 0
            • MikeBM
              MikeB @DanH
              last edited by

              @DanH said in Colour Palette:

              @Matt_SF Ha, yes indeed, I was thinking something more hardcoded into HISE.

              You mean something like that?
              If I enter the word "colour:" here, a colour selector appears.

              Bildschirmfoto 2022-09-07 um 15.30.40.png

              "One hour of trial and error can save 10 minutes of reading the manual."
              "It's easier to hit the developer with feature requests than to spend 10 minutes reading the manual. :-)))"
              HISE Develop - Mac Pro 5.1, OS X 10.14.6, Projucer 6.02, Xcode 10.3

              DanHD 1 Reply Last reply Reply Quote 1
              • DanHD
                DanH @MikeB
                last edited by

                @MikeB no, more something in the toolbar at the top of HISE where you also store some colours that you use regularly

                DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
                https://dhplugins.com/ | https://dcbreaks.com/
                London, UK

                1 Reply Last reply Reply Quote 1
                • ustkU
                  ustk
                  last edited by

                  Necroing this topic because I think it's still a nice idea to have a palette in a popup window.

                  Of course I use constant like many of us, and external colour editor, but during development I always feel it's painful. When you have multiple colours with several shades for each, variable names can be very confusing so you try this one, then this other one...

                  Another idea is to have a colour specific variable type (but such a thing might be too intrusive to the javascript engine), so the script editor can show or popup the colour aside of it or when hovering. It could also be displayed in the ScriptWatchTable.

                  Hise made me an F5 dude, any other app just suffers...

                  dannytaurusD David HealeyD 3 Replies Last reply Reply Quote 0
                  • dannytaurusD
                    dannytaurus @ustk
                    last edited by dannytaurus

                    @ustk It would be cool if the code editor showed a colour chip before/after every colour defined in the code. VS Code & Cursor do this, as do many other code editors, I'm sure.

                    It wouldn't need a colour-specific variable, just some judicious regex in the code formatter to find colour formats and display a colour chip.

                    CleanShot 2026-01-08 at 20.51.01@2x.png

                    With an editor preference, of course. Not everyone wants Christmas lights all over their code! 😜

                    Meat Beats: https://meatbeats.com
                    Klippr Video: https://klippr.video

                    1 Reply Last reply Reply Quote 1
                    • dannytaurusD
                      dannytaurus @ustk
                      last edited by

                      @ustk Just made a quick proof of concept in Claude. Haven't read all the code yet, so no idea if it's well implemented or performant, but it does look kinda nice!

                      CleanShot 2026-01-08 at 21.39.06@2x.png

                      Meat Beats: https://meatbeats.com
                      Klippr Video: https://klippr.video

                      ustkU ChazroxC 2 Replies Last reply Reply Quote 4
                      • ustkU
                        ustk @dannytaurus
                        last edited by ustk

                        @dannytaurus supreme sorcerer grade 🧙

                        Hise made me an F5 dude, any other app just suffers...

                        dannytaurusD 1 Reply Last reply Reply Quote 2
                        • ChazroxC
                          Chazrox @dannytaurus
                          last edited by

                          @dannytaurus I like this idea. I wouldn't mind it one bit! 🙏 ⚡

                          1 Reply Last reply Reply Quote 1
                          • dannytaurusD
                            dannytaurus @ustk
                            last edited by

                            @ustk This one's not me, it's all Claude in Cursor. Just have to give it good prompts! 😜

                            Meat Beats: https://meatbeats.com
                            Klippr Video: https://klippr.video

                            1 Reply Last reply Reply Quote 2
                            • David HealeyD
                              David Healey @ustk
                              last edited by

                              @ustk said in Colour Palette:

                              colour specific variable type

                              It's there, kind of.

                              f1eafd7a-168d-46c2-9892-81fa0de5a6e2-image.png

                              Free HISE Bootcamp Full Course for beginners.
                              YouTube Channel - Public HISE tutorials
                              My Patreon - HISE tutorials

                              1 Reply Last reply Reply Quote 1
                              • First post
                                Last post

                              26

                              Online

                              2.1k

                              Users

                              13.2k

                              Topics

                              114.3k

                              Posts