Background color of EDGE 1050

What color is the background black color of edge1050?

One user said to me, it's annoying thing...

I checked using if(background color == Graphics.COLOR_BLACK)

Please, let me know color code of the EDGE 1050 background.

added 2024. 08. 29. 21:36

One user tested background color 0x17181D instead of COLOR_BLACK.

The result is as follows,

Finally, he satisfied.

  • Thank you.

    I found some code in Rez.mir file

    module system_color_dark__background {
        <init> {
        }
        const color as Number = 0x17181D;
        const background as Number = 0x17181D;
    }
    module prompt_color_dark__background {
        <init> {
        }
        const color as Number = 0x191919;
        const background as Number = 0x191919;
    }
    module prompt_color_light__background {
        <init> {
        }
        const color as Number = 0xDCDCDC;
        const background as Number = 0xDCDCDC;
    }
    module activity_color_light__background {
        <init> {
        }
        const color as Number = 0xDCDCDC;
        const background as Number = 0xDCDCDC;
    }
    module system_color_light__background {
        <init> {
        }
        const color as Number = 0xDCDCDC;
        const background as Number = 0xDCDCDC;
    }
    module activity_color_dark__background {
        <init> {
        }
        const color as Number = 0x17181D;
        const background as Number = 0x17181D;
    }

    Is there any color difference at activity, prompt state ?

    Look into the code,
    white=0xDCDCDC
    black = 0x191919 or 0x17181D

  • I checked on my Edge 1050:

    Here is a screenshot in dark mode - (real, not photo):

    First, third and fourth field are native Garmin fields, second and fifths are IQ datafields:

    DARK MODE:

    ForeGroundColor: native and IQ are the same:  255, 251, 255

    BackgroundColor native field: 16, 24, 25
    BackgroundColor IQ field: 0, 0, 0

    For Edge 1050 you have to set the backGroundColor according the native fields:   myIQdarkBackGround = 0x101819; 

  • Interesting. Can you give us some guidence? What are we supposed to do? On one hand it looks like CURRENTLY 0x101819 is the dark background color on edge1050, but how we know it won't change? (Maybe it's a bug in the FW and will be switched to black...) How are we supposed to know the right color for other devices? Maybe a new constant should be added to the SDK that will be this dark background color?

  • Thank you for your information.

  • I don't think the color will change for the edge1050, so based of your findings I'd stick with 0x101819. I'll get a ticket filed to so the team can take a look at this from a CIQ perspective.

  •      0x191919                                     0x17181D

    According to the simulator, the background color in the prompt state and the background color during the activity state may be different as shown above.

  • First, third and fourth field are native Garmin fields, second and fifths are IQ datafields:

    "Are you sure that's not a backlight problem???"

    -- typical Garmin forums poster / person who thinks backlight bleed is rectangular and somehow exactly follows the contours of CIQ data fields

    But seriously, thank you for investigating this!

  • How are we supposed to know the right color for other devices? Maybe a new constant should be added to the SDK that will be this dark background color?

    Yeah, or a way to query this information in the API. ("getRealBackgroundColor()")

    I realize an API call is far less likely though. The problem with a constant is that the value could conceivably change, as you pointed out.

  • That's a meaningless comparsion. It shows that the simulator renders the hexa color as it supposed to, but (maybe) has nothing to do with how the real device renders it, and even more importantly it might not be the color on the real devie. So the only really interesting is when you do a screenshot on the real device IMHO

  • ForeGroundColor: native and IQ are the same:  255, 251, 255
    Maybe a new constant should be added to the SDK that will be this dark background color?

    Seems like we also need constants for the foreground colors.

    For completeness we need 4 constants (or a way to query their values)

    - dark mode: background colour, foreground colour

    - light mode: background colour, foreground colour