<Window x:Class="WpfApp1.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:local="clr-namespace:WpfApp1"
        mc:Ignorable="d"
        Title="MainWindow" Height="450" Width="800">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition>
                
            </RowDefinition>
            <RowDefinition>
                
            </RowDefinition>
            <RowDefinition>
                
            </RowDefinition>
            <RowDefinition></RowDefinition>
        </Grid.RowDefinitions>
        
        <Label Grid.Row="0">Red:</Label>
        <Slider Grid.Row="0" Minimum="0" Maximum="255" x:Name="red" ValueChanged="red_ValueChanged"  Margin="20px"></Slider>
        <Label Grid.Row="1">Green:</Label>
        <Slider Grid.Row="1" Minimum="0" Maximum="255" x:Name="green" ValueChanged="green_ValueChanged" Margin="20px"></Slider>
        <Label Grid.Row="2">Blue:</Label>
        <Slider Grid.Row="2" Minimum="0" Maximum="255" x:Name="blue" ValueChanged="blue_ValueChanged" Margin="20px"></Slider>
        <Canvas Name="asd" Grid.Row="3" Width="50" Height="50" HorizontalAlignment="Center" VerticalAlignment="Center" Background="Red"> 
            
        </Canvas>
    </Grid>
</Window>
