'How to correct display the color in Xamarin.Forms

In XAML i write color is #252834, and on app a get #272735. In XAML i write color is #AC8FFF, and on app a get #AC8FFF.The light shades are displayed as it should be What could be the problem? Example here

    <ResourceDictionary>
        <Style x:Key="BaseStyle" TargetType="Element">
            <Setter Property="Shell.TabBarBackgroundColor" Value="#252834"/>
        </Style>
        <Style TargetType="TabBar" BasedOn="{StaticResource BaseStyle}" />
    </ResourceDictionary>


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source